Interface BindContext
public interface BindContext
Context information for use byBindHandlers
.- Since:
- 2.0.0
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Binder
getBinder()
Return the source binder that is performing the bind operation.ConfigurationProperty
getConfigurationProperty()
Return theConfigurationProperty
actually being bound ornull
if the property has not yet been determined.int
getDepth()
Return the current depth of the binding.Iterable<ConfigurationPropertySource>
getSources()
Method Detail
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 of0
. Each subsequent property binding increases the depth by1
.- Returns:
- the depth of the current binding
getSources
Iterable<ConfigurationPropertySource> getSources()
- Returns:
- the sources
getConfigurationProperty
ConfigurationProperty getConfigurationProperty()
Return theConfigurationProperty
actually being bound ornull
if the property has not yet been determined.- Returns:
- the configuration property (may be
null
).