Interface ConfigurationListener
public interface ConfigurationListener
Listen for configuration changes on an object.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
notifyFieldChangeUsingReflection
(String fieldName, Object value, Object target) Notify the listener that a field has been set using private field injection.void
notifyFieldChangeUsingSetter
(String fieldName, Object value, Object target) Notify the listener that a field has been set using its setter.
-
Method Details
-
notifyFieldChangeUsingSetter
Notify the listener that a field has been set using its setter.- Parameters:
fieldName
- the fieldvalue
- the value settarget
- the target object
-
notifyFieldChangeUsingReflection
Notify the listener that a field has been set using private field injection.- Parameters:
fieldName
- the fieldvalue
- the value settarget
- the target object
-