Class PlexusConfigurations


  • final class PlexusConfigurations
    extends java.lang.Object
    Creates Providers for properties with @Configuration metadata.
    • 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 a Provider that provides values that match the given property configuration.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • converterProvider

        private final javax.inject.Provider<PlexusBeanConverter> converterProvider
    • Constructor Detail

      • PlexusConfigurations

        PlexusConfigurations​(com.google.inject.spi.TypeEncounter<?> encounter)
    • Method Detail

      • lookup

        public <T> javax.inject.Provider<T> lookup​(org.codehaus.plexus.component.annotations.Configuration configuration,
                                                   BeanProperty<T> property)
        Creates a Provider that provides values that match the given property configuration.
        Parameters:
        configuration - The Plexus configuration
        property - The bean property
        Returns:
        Provider that provides configured values for the given property