public final class PlexusAnnotatedBeanModule extends Object implements PlexusBeanModule
PlexusBeanModule
that registers Plexus beans by scanning classes for runtime annotations.Constructor and Description |
---|
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.
|
public PlexusAnnotatedBeanModule(ClassSpace space, Map<?,?> variables)
space
- The local class spacevariables
- The filter variablespublic PlexusAnnotatedBeanModule(ClassSpace space, Map<?,?> variables, BeanScanning scanning)
space
- The local class spacevariables
- The filter variablesscanning
- The scanning optionspublic PlexusBeanSource configure(com.google.inject.Binder binder)
configure
in interface PlexusBeanModule
Copyright © 2010-2014 Sonatype, Inc.. All Rights Reserved.