public final class PlexusTypeBinder extends java.lang.Object implements PlexusTypeListener
PlexusTypeListener that binds Plexus Components.| Modifier and Type | Field and Description |
|---|---|
private com.google.inject.Binder |
binder |
private QualifiedTypeListener |
qualifiedTypeBinder |
| Constructor and Description |
|---|
PlexusTypeBinder(com.google.inject.Binder binder) |
| Modifier and Type | Method and 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. |
private final com.google.inject.Binder binder
private final QualifiedTypeListener qualifiedTypeBinder
public void hear(java.lang.Class<?> qualifiedType,
java.lang.Object source)
QualifiedTypeListenerQualifiedTypeVisitor finds a qualified type.hear in interface QualifiedTypeListenerqualifiedType - The qualified typesource - The source of this typeBinder.withSource(Object)public void hear(org.codehaus.plexus.component.annotations.Component component,
DeferredClass<?> clazz,
java.lang.Object source)
PlexusTypeListenerPlexusTypeListener finds a Plexus component.hear in interface PlexusTypeListenercomponent - The Plexus componentclazz - The implementationsource - The source of this componentprivate com.google.inject.Binder componentBinder(java.lang.Object source,
java.lang.String description)