public class SystemProfileValueSource extends Object implements ProfileValueSource
ProfileValueSource which uses system properties as
the underlying source.| Modifier and Type | Method and Description |
|---|---|
String |
get(String key)
Get the profile value indicated by the specified key from the
system properties.
|
static SystemProfileValueSource |
getInstance()
Obtain the canonical instance of this ProfileValueSource.
|
public static final SystemProfileValueSource getInstance()
public String get(String key)
get in interface ProfileValueSourcekey - the name of the profile valuenull
if there is no profile value with that keySystem.getProperty(String)