public class BoundPropertiesTrackingBindHandler extends AbstractBindHandler
BindHandler
that can be used to track bound configuration properties.DEFAULT
Constructor and Description |
---|
BoundPropertiesTrackingBindHandler(java.util.function.Consumer<ConfigurationProperty> consumer) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
onSuccess(ConfigurationPropertyName name,
Bindable<?> target,
BindContext context,
java.lang.Object result)
Called when binding of an element ends with a successful result.
|
onFailure, onFinish, onStart
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onCreate
public BoundPropertiesTrackingBindHandler(java.util.function.Consumer<ConfigurationProperty> consumer)
public java.lang.Object onSuccess(ConfigurationPropertyName name, Bindable<?> target, BindContext context, java.lang.Object result)
BindHandler
onSuccess
in interface BindHandler
onSuccess
in class AbstractBindHandler
name
- the name of the element being boundtarget
- the item being boundcontext
- the bind contextresult
- the bound result (never null
)null
)