Class PlexusTypeBinder

    • Constructor Summary

      Constructors 
      Constructor Description
      PlexusTypeBinder​(com.google.inject.Binder binder)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private com.google.inject.Binder componentBinder​(java.lang.Object source, java.lang.String description)  
      void hear​(java.lang.Class<?> qualifiedType, java.lang.Object source)
      Invoked when the QualifiedTypeVisitor finds a qualified type.
      void hear​(org.codehaus.plexus.component.annotations.Component component, DeferredClass<?> clazz, java.lang.Object source)
      Invoked when the PlexusTypeListener finds a Plexus component.
      • Methods inherited from class java.lang.Object

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

      • binder

        private final com.google.inject.Binder binder
    • Constructor Detail

      • PlexusTypeBinder

        public PlexusTypeBinder​(com.google.inject.Binder binder)
    • Method Detail

      • hear

        public void hear​(java.lang.Class<?> qualifiedType,
                         java.lang.Object source)
        Description copied from interface: QualifiedTypeListener
        Invoked when the QualifiedTypeVisitor finds a qualified type.
        Specified by:
        hear in interface QualifiedTypeListener
        Parameters:
        qualifiedType - The qualified type
        source - The source of this type
        See Also:
        Binder.withSource(Object)
      • hear

        public void hear​(org.codehaus.plexus.component.annotations.Component component,
                         DeferredClass<?> clazz,
                         java.lang.Object source)
        Description copied from interface: PlexusTypeListener
        Invoked when the PlexusTypeListener finds a Plexus component.
        Specified by:
        hear in interface PlexusTypeListener
        Parameters:
        component - The Plexus component
        clazz - The implementation
        source - The source of this component
      • componentBinder

        private com.google.inject.Binder componentBinder​(java.lang.Object source,
                                                         java.lang.String description)