Package org.eclipse.sisu.plexus
Class PlexusTypeBinder
- java.lang.Object
-
- org.eclipse.sisu.plexus.PlexusTypeBinder
-
- All Implemented Interfaces:
PlexusTypeListener
,QualifiedTypeListener
public final class PlexusTypeBinder extends Object implements PlexusTypeListener
PlexusTypeListener
that binds PlexusComponent
s.
-
-
Constructor Summary
Constructors Constructor Description PlexusTypeBinder(com.google.inject.Binder binder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
hear(Class<?> qualifiedType, Object source)
Invoked when theQualifiedTypeVisitor
finds a qualified type.void
hear(org.codehaus.plexus.component.annotations.Component component, DeferredClass<?> clazz, Object source)
Invoked when thePlexusTypeListener
finds a Plexus component.
-
-
-
Method Detail
-
hear
public void hear(Class<?> qualifiedType, Object source)
Description copied from interface:QualifiedTypeListener
Invoked when theQualifiedTypeVisitor
finds a qualified type.- Specified by:
hear
in interfaceQualifiedTypeListener
- Parameters:
qualifiedType
- The qualified typesource
- The source of this type- See Also:
Binder.withSource(Object)
-
hear
public void hear(org.codehaus.plexus.component.annotations.Component component, DeferredClass<?> clazz, Object source)
Description copied from interface:PlexusTypeListener
Invoked when thePlexusTypeListener
finds a Plexus component.- Specified by:
hear
in interfacePlexusTypeListener
- Parameters:
component
- The Plexus componentclazz
- The implementationsource
- The source of this component
-
-