Package org.eclipse.sisu.plexus
Class PlexusConfigurations
- java.lang.Object
-
- org.eclipse.sisu.plexus.PlexusConfigurations
-
final class PlexusConfigurations extends java.lang.ObjectCreatesProviders for properties with @Configurationmetadata.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classPlexusConfigurations.ConfigurationProvider<T>Providerof Plexus configurations.
-
Field Summary
Fields Modifier and Type Field Description private javax.inject.Provider<PlexusBeanConverter>converterProvider
-
Constructor Summary
Constructors Constructor Description PlexusConfigurations(com.google.inject.spi.TypeEncounter<?> encounter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> javax.inject.Provider<T>lookup(org.codehaus.plexus.component.annotations.Configuration configuration, BeanProperty<T> property)Creates aProviderthat provides values that match the given property configuration.
-
-
-
Field Detail
-
converterProvider
private final javax.inject.Provider<PlexusBeanConverter> converterProvider
-
-
Method Detail
-
lookup
public <T> javax.inject.Provider<T> lookup(org.codehaus.plexus.component.annotations.Configuration configuration, BeanProperty<T> property)Creates aProviderthat provides values that match the given property configuration.- Parameters:
configuration- The Plexus configurationproperty- The bean property- Returns:
- Provider that provides configured values for the given property
-
-