类 BoundPropertiesTrackingBindHandler

java.lang.Object
org.springframework.boot.context.properties.bind.AbstractBindHandler
org.springframework.boot.context.properties.bind.BoundPropertiesTrackingBindHandler
所有已实现的接口:
BindHandler

public class BoundPropertiesTrackingBindHandler extends AbstractBindHandler
BindHandler that can be used to track bound configuration properties.
从以下版本开始:
2.3.0
作者:
Madhura Bhave
  • 构造器详细资料

  • 方法详细资料

    • 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 bound
      target - the item being bound
      context - the bind context
      result - the bound result (never null)
      返回:
      the actual result that should be used (may be null)