NoUnboundElementsBindHandler
BindHandler to enforce that all configuration properties under the root name have been bound.
Author
Phillip Webb
Madhura Bhave
Since
2.0.0
Functions
Link copied to clipboard
open fun onCreate(name: ConfigurationPropertyName, target: Bindable<out Any>, context: BindContext, result: Any): Any
Called when binding of an element ends with an unbound result and a newly created instance is about to be returned.
Link copied to clipboard
open fun onFailure(name: ConfigurationPropertyName, target: Bindable<out Any>, context: BindContext, error: Exception): Any
Link copied to clipboard
open fun onFinish(name: ConfigurationPropertyName, target: Bindable<out Any>, context: BindContext, result: Any)
Called when binding finishes with either bound or unbound result.
Link copied to clipboard
open fun <T> onStart(name: ConfigurationPropertyName, target: Bindable<T>, context: BindContext): Bindable<T>
Called when binding of an element starts but before any result has been determined.
Link copied to clipboard
open fun onSuccess(name: ConfigurationPropertyName, target: Bindable<out Any>, context: BindContext, result: Any): Any
Called when binding of an element ends with a successful result.