Uses of Interface
org.springframework.boot.context.properties.bind.BindContext
Package
Description
Support for
@ConfigurationProperties
binding.General
BindHandler
implementations.Binding validation support.
-
Uses of BindContext in org.springframework.boot.context.properties.bind
Modifier and TypeMethodDescriptiondefault Object
BindHandler.onCreate
(ConfigurationPropertyName name, Bindable<?> target, BindContext context, Object result) Called when binding of an element ends with an unbound result and a newly created instance is about to be returned.AbstractBindHandler.onFailure
(ConfigurationPropertyName name, Bindable<?> target, BindContext context, Exception error) default Object
BindHandler.onFailure
(ConfigurationPropertyName name, Bindable<?> target, BindContext context, Exception error) Called when binding fails for any reason (including failures fromBindHandler.onSuccess(org.springframework.boot.context.properties.source.ConfigurationPropertyName, org.springframework.boot.context.properties.bind.Bindable<?>, org.springframework.boot.context.properties.bind.BindContext, java.lang.Object)
orBindHandler.onCreate(org.springframework.boot.context.properties.source.ConfigurationPropertyName, org.springframework.boot.context.properties.bind.Bindable<?>, org.springframework.boot.context.properties.bind.BindContext, java.lang.Object)
calls).void
AbstractBindHandler.onFinish
(ConfigurationPropertyName name, Bindable<?> target, BindContext context, Object result) default void
BindHandler.onFinish
(ConfigurationPropertyName name, Bindable<?> target, BindContext context, Object result) Called when binding finishes with either bound or unbound result.<T> Bindable<T>
AbstractBindHandler.onStart
(ConfigurationPropertyName name, Bindable<T> target, BindContext context) default <T> Bindable<T>
BindHandler.onStart
(ConfigurationPropertyName name, Bindable<T> target, BindContext context) Called when binding of an element starts but before any result has been determined.AbstractBindHandler.onSuccess
(ConfigurationPropertyName name, Bindable<?> target, BindContext context, Object result) default Object
BindHandler.onSuccess
(ConfigurationPropertyName name, Bindable<?> target, BindContext context, Object result) Called when binding of an element ends with a successful result.BoundPropertiesTrackingBindHandler.onSuccess
(ConfigurationPropertyName name, Bindable<?> target, BindContext context, Object result) -
Uses of BindContext in org.springframework.boot.context.properties.bind.handler
Modifier and TypeMethodDescriptionIgnoreErrorsBindHandler.onFailure
(ConfigurationPropertyName name, Bindable<?> target, BindContext context, Exception error) IgnoreTopLevelConverterNotFoundBindHandler.onFailure
(ConfigurationPropertyName name, Bindable<?> target, BindContext context, Exception error) NoUnboundElementsBindHandler.onFailure
(ConfigurationPropertyName name, Bindable<?> target, BindContext context, Exception error) void
NoUnboundElementsBindHandler.onFinish
(ConfigurationPropertyName name, Bindable<?> target, BindContext context, Object result) <T> Bindable<T>
NoUnboundElementsBindHandler.onStart
(ConfigurationPropertyName name, Bindable<T> target, BindContext context) NoUnboundElementsBindHandler.onSuccess
(ConfigurationPropertyName name, Bindable<?> target, BindContext context, Object result) -
Uses of BindContext in org.springframework.boot.context.properties.bind.validation
Modifier and TypeMethodDescriptionValidationBindHandler.onFailure
(ConfigurationPropertyName name, Bindable<?> target, BindContext context, Exception error) void
ValidationBindHandler.onFinish
(ConfigurationPropertyName name, Bindable<?> target, BindContext context, Object result) <T> Bindable<T>
ValidationBindHandler.onStart
(ConfigurationPropertyName name, Bindable<T> target, BindContext context) ValidationBindHandler.onSuccess
(ConfigurationPropertyName name, Bindable<?> target, BindContext context, Object result)