org.sonatype.guice.plexus.binders
Class PlexusTypeBinder

java.lang.Object
  extended by org.sonatype.guice.plexus.binders.PlexusTypeBinder
All Implemented Interfaces:
QualifiedTypeListener, PlexusTypeListener

public final class PlexusTypeBinder
extends Object
implements PlexusTypeListener


Constructor Summary
PlexusTypeBinder(com.google.inject.Binder binder)
           
 
Method Summary
 void hear(Annotation qualifier, Class<?> qualifiedType, Object source)
          Invoked when the QualifiedTypeVisitor finds a qualified type.
 void hear(org.codehaus.plexus.component.annotations.Component component, DeferredClass<?> clazz, 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
 

Constructor Detail

PlexusTypeBinder

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

hear

public void hear(Annotation qualifier,
                 Class<?> qualifiedType,
                 Object source)
Description copied from interface: QualifiedTypeListener
Invoked when the QualifiedTypeVisitor finds a qualified type.

Specified by:
hear in interface QualifiedTypeListener
Parameters:
qualifier - The qualifier
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,
                 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


Copyright © 2010-2011 Sonatype, Inc.. All Rights Reserved.