类 BoundPropertiesTrackingBindHandler
java.lang.Object
org.springframework.boot.context.properties.bind.AbstractBindHandler
org.springframework.boot.context.properties.bind.BoundPropertiesTrackingBindHandler
- 所有已实现的接口:
BindHandler
BindHandler
that can be used to track bound configuration properties.- 从以下版本开始:
- 2.3.0
- 作者:
- Madhura Bhave
-
字段概要
从接口继承的字段 org.springframework.boot.context.properties.bind.BindHandler
DEFAULT
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明onSuccess
(ConfigurationPropertyName name, Bindable<?> target, BindContext context, Object result) Called when binding of an element ends with a successful result.从类继承的方法 org.springframework.boot.context.properties.bind.AbstractBindHandler
onFailure, onFinish, onStart
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 org.springframework.boot.context.properties.bind.BindHandler
onCreate
-
构造器详细资料
-
BoundPropertiesTrackingBindHandler
-
-
方法详细资料
-
onSuccess
public Object onSuccess(ConfigurationPropertyName name, Bindable<?> target, BindContext context, Object result) 从接口复制的说明:BindHandler
Called when binding of an element ends with a successful result. Implementations may change the ultimately returned result or perform addition validation.- 指定者:
onSuccess
在接口中BindHandler
- 覆盖:
onSuccess
在类中AbstractBindHandler
- 参数:
name
- the name of the element being boundtarget
- the item being boundcontext
- the bind contextresult
- the bound result (nevernull
)- 返回:
- the actual result that should be used (may be
null
)
-