Package org.eclipse.sisu.bean
Interface PropertyBinder
-
- All Known Implementing Classes:
PlexusPropertyBinder
public interface PropertyBinder
Provides customPropertyBinding
s for bean properties such as fields or setter methods.
-
-
Field Summary
Fields Modifier and Type Field Description static PropertyBinding
LAST_BINDING
Binders may returnLAST_BINDING
to indicate they are done binding a bean.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> PropertyBinding
bindProperty(BeanProperty<T> property)
Returns the appropriatePropertyBinding
for the given bean property.
-
-
-
Field Detail
-
LAST_BINDING
static final PropertyBinding LAST_BINDING
Binders may returnLAST_BINDING
to indicate they are done binding a bean.
-
-
Method Detail
-
bindProperty
<T> PropertyBinding bindProperty(BeanProperty<T> property)
Returns the appropriatePropertyBinding
for the given bean property.- Parameters:
property
- The bean property- Returns:
- Binding for the given property;
null
if no binding is applicable
-
-