org.sonatype.guice.plexus.binders
Class PlexusAnnotatedBeanModule
java.lang.Object
org.sonatype.guice.plexus.binders.PlexusAnnotatedBeanModule
- All Implemented Interfaces:
- PlexusBeanModule
public final class PlexusAnnotatedBeanModule
- extends java.lang.Object
- implements PlexusBeanModule
PlexusBeanModule
that registers Plexus beans by scanning classes for runtime annotations.
Constructor Summary |
PlexusAnnotatedBeanModule(ClassSpace space,
java.util.Map<?,?> variables)
Creates a bean source that scans the given class space for Plexus annotations using the given scanner. |
PlexusAnnotatedBeanModule(ClassSpace space,
java.util.Map<?,?> variables,
boolean caching)
Creates a bean source that scans the given class space for Plexus annotations using the given scanner. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlexusAnnotatedBeanModule
public PlexusAnnotatedBeanModule(ClassSpace space,
java.util.Map<?,?> variables)
- Creates a bean source that scans the given class space for Plexus annotations using the given scanner.
- Parameters:
space
- The local class spacevariables
- The filter variables
PlexusAnnotatedBeanModule
public PlexusAnnotatedBeanModule(ClassSpace space,
java.util.Map<?,?> variables,
boolean caching)
- Creates a bean source that scans the given class space for Plexus annotations using the given scanner.
- Parameters:
space
- The local class spacevariables
- The filter variablescaching
- Cache the results?
configure
public PlexusBeanSource configure(com.google.inject.Binder binder)
- Specified by:
configure
in interface PlexusBeanModule
Copyright © 2010-2011 Sonatype, Inc.. All Rights Reserved.