Package org.eclipse.sisu.plexus
Class PlexusPropertyBinder
java.lang.Object
org.eclipse.sisu.plexus.PlexusPropertyBinder
- All Implemented Interfaces:
PropertyBinder
BeanPropertyBinder
that auto-binds properties according to Plexus metadata.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PlexusConfigurations
private final BeanManager
private final PlexusBeanMetadata
private static final boolean
private final PlexusRequirements
Fields inherited from interface org.eclipse.sisu.bean.PropertyBinder
LAST_BINDING
-
Constructor Summary
ConstructorsConstructorDescriptionPlexusPropertyBinder
(BeanManager manager, com.google.inject.spi.TypeEncounter<?> encounter, PlexusBeanMetadata metadata) -
Method Summary
Modifier and TypeMethodDescription<T> PropertyBinding
bindProperty
(BeanProperty<T> property) Returns the appropriatePropertyBinding
for the given bean property.
-
Field Details
-
OPTIONAL_SUPPORTED
private static final boolean OPTIONAL_SUPPORTED -
manager
-
metadata
-
configurations
-
requirements
-
-
Constructor Details
-
PlexusPropertyBinder
PlexusPropertyBinder(BeanManager manager, com.google.inject.spi.TypeEncounter<?> encounter, PlexusBeanMetadata metadata)
-
-
Method Details
-
bindProperty
Description copied from interface:PropertyBinder
Returns the appropriatePropertyBinding
for the given bean property.- Specified by:
bindProperty
in interfacePropertyBinder
- Parameters:
property
- The bean property- Returns:
- Binding for the given property;
null
if no binding is applicable
-