@ApplicationScoped public class EnvironmentVariablesSource extends Source
Source that retrieves values from environment variables.getValue(String, Set)| Constructor and Description |
|---|
EnvironmentVariablesSource()
Creates a new
EnvironmentVariablesSource. |
public EnvironmentVariablesSource()
EnvironmentVariablesSource.public Value getValue(String name, Set<Annotation> qualifiers)
getValue in class Sourcename - the name of the setting; must not be nullqualifiers - a Set of Annotations qualifying
the request; the Value returned by this method will
have a subset of these
qualifiers; must not be nullValue, or null if an
invocation of System.getenv(String) with the supplied
name returns nullNullPointerException - if either name or qualifiers is nullnull.Copyright © 2019–2020, microBean™. All rights reserved.