Package org.eclipse.sisu.plexus
Class PlexusConfigurations
- java.lang.Object
-
- org.eclipse.sisu.plexus.PlexusConfigurations
-
final class PlexusConfigurations extends java.lang.Object
CreatesProvider
s for properties with @Configuration
metadata.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
PlexusConfigurations.ConfigurationProvider<T>
Provider
of 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 aProvider
that 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 aProvider
that 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
-
-