Interface BindContext


public interface BindContext
Context information for use by BindHandlers.
Since:
2.0.0
Author:
Phillip Webb, Madhura Bhave
  • Method Details

    • getBinder

      Binder getBinder()
      Return the source binder that is performing the bind operation.
      Returns:
      the source binder
    • getDepth

      int getDepth()
      Return the current depth of the binding. Root binding starts with a depth of 0. Each subsequent property binding increases the depth by 1.
      Returns:
      the depth of the current binding
    • getSources

      Return an Iterable of the sources being used by the Binder.
      Returns:
      the sources
    • getConfigurationProperty

      ConfigurationProperty getConfigurationProperty()
      Return the ConfigurationProperty actually being bound or null if the property has not yet been determined.
      Returns:
      the configuration property (may be null).