final class PlexusPropertyBinder extends java.lang.Object implements PropertyBinder
BeanPropertyBinder
that auto-binds properties according to Plexus metadata.Modifier and Type | Field and Description |
---|---|
private PlexusConfigurations |
configurations |
private BeanManager |
manager |
private PlexusBeanMetadata |
metadata |
private static boolean |
OPTIONAL_SUPPORTED |
private PlexusRequirements |
requirements |
LAST_BINDING
Constructor and Description |
---|
PlexusPropertyBinder(BeanManager manager,
com.google.inject.spi.TypeEncounter<?> encounter,
PlexusBeanMetadata metadata) |
Modifier and Type | Method and Description |
---|---|
<T> PropertyBinding |
bindProperty(BeanProperty<T> property)
Returns the appropriate
PropertyBinding for the given bean property. |
private static final boolean OPTIONAL_SUPPORTED
private final BeanManager manager
private final PlexusBeanMetadata metadata
private final PlexusConfigurations configurations
private final PlexusRequirements requirements
PlexusPropertyBinder(BeanManager manager, com.google.inject.spi.TypeEncounter<?> encounter, PlexusBeanMetadata metadata)
public <T> PropertyBinding bindProperty(BeanProperty<T> property)
PropertyBinder
PropertyBinding
for the given bean property.bindProperty
in interface PropertyBinder
property
- The bean propertynull
if no binding is applicable