public interface DynamicPropertySupport
In most cases, it will be much easier to use Apache Commons Configuration to
support DynamicProperty
. However, this interface makes it possible for
DynamicProperty
to work without relying on Apache Commons Configuration.
Modifier and Type | Method and Description |
---|---|
void |
addConfigurationListener(PropertyListener expandedPropertyListener)
Add the property change listener.
|
String |
getString(String propName)
Get the string value of a given property.
|
String getString(String propName)
DynamicProperty
.propName
- The name of the propertyvoid addConfigurationListener(PropertyListener expandedPropertyListener)
DynamicProperty
to
receive callback once a property is updated in the underlying DynamicPropertySupport
expandedPropertyListener
- Listener to be added to DynamicPropertySupport
Copyright © 2016. All Rights Reserved.