@Singleton @SuppressLifecycleUninitialized public final class DefaultPropertySource extends AbstractPropertySource
| Constructor and Description |
|---|
DefaultPropertySource() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
get(java.lang.String key)
Get the value of a property or null if not found
|
java.lang.String |
get(java.lang.String key,
java.lang.String defaultValue)
Get the value of a property or default if not found
|
boolean |
hasProperty(java.lang.String key)
Determine if the PropertySource contains the specified property key
|
get, getpublic java.lang.String get(java.lang.String key)
PropertySourcekey - Name of property to fetchpublic java.lang.String get(java.lang.String key,
java.lang.String defaultValue)
PropertySourcekey - Name of property to fetchpublic boolean hasProperty(java.lang.String key)
PropertySource