Package org.eclipse.sisu.plexus
Class PlexusConfigurations
java.lang.Object
org.eclipse.sisu.plexus.PlexusConfigurations
Creates
Provider
s for properties with @Configuration
metadata.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class
Provider
of Plexus configurations. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<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 Details
-
converterProvider
-
-
Constructor Details
-
PlexusConfigurations
PlexusConfigurations(com.google.inject.spi.TypeEncounter<?> encounter)
-
-
Method Details
-
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
-