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 java.lang.Object implements PlexusTypeListener
PlexusTypeListenerthat binds PlexusComponents.
-
-
Field Summary
Fields Modifier and Type Field Description private com.google.inject.Binderbinderprivate QualifiedTypeListenerqualifiedTypeBinder
-
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.BindercomponentBinder(java.lang.Object source, java.lang.String description)voidhear(java.lang.Class<?> qualifiedType, java.lang.Object source)Invoked when theQualifiedTypeVisitorfinds a qualified type.voidhear(org.codehaus.plexus.component.annotations.Component component, DeferredClass<?> clazz, java.lang.Object source)Invoked when thePlexusTypeListenerfinds a Plexus component.
-
-
-
Field Detail
-
binder
private final com.google.inject.Binder binder
-
qualifiedTypeBinder
private final QualifiedTypeListener qualifiedTypeBinder
-
-
Method Detail
-
hear
public void hear(java.lang.Class<?> qualifiedType, java.lang.Object source)Description copied from interface:QualifiedTypeListenerInvoked when theQualifiedTypeVisitorfinds a qualified type.- Specified by:
hearin 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, java.lang.Object source)Description copied from interface:PlexusTypeListenerInvoked when thePlexusTypeListenerfinds a Plexus component.- Specified by:
hearin interfacePlexusTypeListener- Parameters:
component- The Plexus componentclazz- The implementationsource- The source of this component
-
componentBinder
private com.google.inject.Binder componentBinder(java.lang.Object source, java.lang.String description)
-
-