Package org.eclipse.sisu.plexus
Class PlexusTypeBinder
java.lang.Object
org.eclipse.sisu.plexus.PlexusTypeBinder
- All Implemented Interfaces:
PlexusTypeListener
,QualifiedTypeListener
PlexusTypeListener
that binds Plexus Component
s.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final com.google.inject.Binder
private final QualifiedTypeListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate com.google.inject.Binder
componentBinder
(Object source, String description) void
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.
-
Field Details
-
binder
private final com.google.inject.Binder binder -
qualifiedTypeBinder
-
-
Constructor Details
-
PlexusTypeBinder
public PlexusTypeBinder(com.google.inject.Binder binder)
-
-
Method Details
-
hear
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
-
componentBinder
-