org.sonatype.guice.plexus.binders
Class PlexusAnnotatedBeanModule

java.lang.Object
  extended by org.sonatype.guice.plexus.binders.PlexusAnnotatedBeanModule
All Implemented Interfaces:
PlexusBeanModule

public final class PlexusAnnotatedBeanModule
extends Object
implements PlexusBeanModule

PlexusBeanModule that registers Plexus beans by scanning classes for runtime annotations.


Constructor Summary
PlexusAnnotatedBeanModule(ClassSpace space, Map<?,?> variables)
          Creates a bean source that scans the given class space for Plexus annotations using the given scanner.
PlexusAnnotatedBeanModule(ClassSpace space, Map<?,?> variables, BeanScanning scanning)
          Creates a bean source that scans the given class space for Plexus annotations using the given scanner.
 
Method Summary
 PlexusBeanSource configure(com.google.inject.Binder binder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlexusAnnotatedBeanModule

public PlexusAnnotatedBeanModule(ClassSpace space,
                                 Map<?,?> variables)
Creates a bean source that scans the given class space for Plexus annotations using the given scanner.

Parameters:
space - The local class space
variables - The filter variables

PlexusAnnotatedBeanModule

public PlexusAnnotatedBeanModule(ClassSpace space,
                                 Map<?,?> variables,
                                 BeanScanning scanning)
Creates a bean source that scans the given class space for Plexus annotations using the given scanner.

Parameters:
space - The local class space
variables - The filter variables
scanning - The scanning options
Method Detail

configure

public PlexusBeanSource configure(com.google.inject.Binder binder)
Specified by:
configure in interface PlexusBeanModule


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