Package com.avanza.astrix.config
Interface DynamicConfigListener
-
public interface DynamicConfigListenerListener interface for listening to state changes in allDynamicPropertyinstances managed by a singleDynamicConfiginstance.- Author:
- Elias Lindholm (elilin)
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidpropertyChanged(String propertyName, Object newValue)Invoked each time the value of aDynamicPropertyinstance changes.default voidpropertyCreated(String propertyName, Object initialValue)Invoked the first time a property with a given name is requested from aDynamicConfiginstance, i.e.
-
-
-
Method Detail
-
propertyChanged
default void propertyChanged(String propertyName, Object newValue)
Invoked each time the value of aDynamicPropertyinstance changes. This method will be invoked on the same thread that changes the state of theDynamicProperty, typically some thread internal to aDynamicConfigSourceimplementation. Default implementation does nothing
-
propertyCreated
default void propertyCreated(String propertyName, Object initialValue)
Invoked the first time a property with a given name is requested from aDynamicConfiginstance, i.e. when it is created. Default implementation does nothing
-
-