public class ConfigurationBackedDynamicPropertySupportImpl extends Object implements DynamicPropertySupport
Constructor and Description |
---|
ConfigurationBackedDynamicPropertySupportImpl(org.apache.commons.configuration.AbstractConfiguration config) |
Modifier and Type | Method and Description |
---|---|
void |
addConfigurationListener(PropertyListener expandedConfigListener)
Add the property change listener.
|
org.apache.commons.configuration.AbstractConfiguration |
getConfiguration() |
String |
getString(String key)
Get the string value of a given property.
|
public ConfigurationBackedDynamicPropertySupportImpl(org.apache.commons.configuration.AbstractConfiguration config)
public String getString(String key)
DynamicPropertySupport
DynamicProperty
.getString
in interface DynamicPropertySupport
key
- The name of the propertypublic void addConfigurationListener(PropertyListener expandedConfigListener)
DynamicPropertySupport
DynamicProperty
to
receive callback once a property is updated in the underlying DynamicPropertySupport
addConfigurationListener
in interface DynamicPropertySupport
expandedConfigListener
- Listener to be added to DynamicPropertySupport
public final org.apache.commons.configuration.AbstractConfiguration getConfiguration()
Copyright © 2015. All Rights Reserved.