Class BoundPropertiesTrackingBindHandler

java.lang.Object
org.springframework.boot.context.properties.bind.AbstractBindHandler
org.springframework.boot.context.properties.bind.BoundPropertiesTrackingBindHandler
All Implemented Interfaces:
BindHandler

public class BoundPropertiesTrackingBindHandler extends AbstractBindHandler
BindHandler that can be used to track bound configuration properties.
Since:
2.3.0
Author:
Madhura Bhave
  • Constructor Details

  • Method Details

    • onSuccess

      public Object onSuccess(ConfigurationPropertyName name, Bindable<?> target, BindContext context, Object result)
      Description copied from interface: BindHandler
      Called when binding of an element ends with a successful result. Implementations may change the ultimately returned result or perform addition validation.
      Specified by:
      onSuccess in interface BindHandler
      Overrides:
      onSuccess in class AbstractBindHandler
      Parameters:
      name - the name of the element being bound
      target - the item being bound
      context - the bind context
      result - the bound result (never null)
      Returns:
      the actual result that should be used (may be null)