Class PlexusBeanBinder

  • All Implemented Interfaces:
    com.google.inject.spi.InjectionListener<java.lang.Object>, BeanBinder

    final class PlexusBeanBinder
    extends java.lang.Object
    implements BeanBinder, com.google.inject.spi.InjectionListener<java.lang.Object>
    BeanBinder that binds bean properties according to Plexus metadata.
    • Method Detail

      • bindBean

        public <B> PropertyBinder bindBean​(com.google.inject.TypeLiteral<B> type,
                                           com.google.inject.spi.TypeEncounter<B> encounter)
        Description copied from interface: BeanBinder
        Returns the appropriate PropertyBinder for the given bean type.
        Specified by:
        bindBean in interface BeanBinder
        Parameters:
        type - The bean type
        encounter - The Guice type encounter
        Returns:
        Property binder for the given type; null if no binder is applicable
      • afterInjection

        public void afterInjection​(java.lang.Object bean)
        Specified by:
        afterInjection in interface com.google.inject.spi.InjectionListener<java.lang.Object>