public class BoundPropertiesTrackingBindHandler extends AbstractBindHandler
BindHandler
that can be used to track bound configuration properties.DEFAULT
Constructor and Description |
---|
BoundPropertiesTrackingBindHandler(Consumer<ConfigurationProperty> consumer) |
Modifier and Type | Method and Description |
---|---|
Object |
onSuccess(ConfigurationPropertyName name,
Bindable<?> target,
BindContext context,
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(Consumer<ConfigurationProperty> consumer)
public Object onSuccess(ConfigurationPropertyName name, Bindable<?> target, BindContext context, 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
)