@ApplicationScoped public class SystemPropertiesSource extends Source
Source that retrieves values from system properties.getValue(String, Set)| Constructor and Description |
|---|
SystemPropertiesSource()
Creates a new
SystemPropertiesSource. |
| Modifier and Type | Method and Description |
|---|---|
Value |
getValue(String name,
Set<Annotation> qualifiers)
Returns a
Value suitable for the supplied name by
making use of the System.getProperty(String) method. |
public SystemPropertiesSource()
SystemPropertiesSource.public Value getValue(String name, Set<Annotation> qualifiers)
Value suitable for the supplied name by
making use of the System.getProperty(String) method.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.getProperty(String) with the
supplied name returns nullNullPointerException - if either name or qualifiers is nullnull.Copyright © 2019–2020, microBean™. All rights reserved.