public final class PlexusAnnotatedBeanModule extends Object implements PlexusBeanModule
PlexusBeanModule that binds Plexus components 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.
|
| Modifier and Type | Method and Description |
|---|---|
PlexusBeanSource |
configure(com.google.inject.Binder binder)
Contributes bindings and returns any associated
PlexusBeanSource metadata. |
PlexusBeanModule |
with(SpaceModule.Strategy _strategy) |
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 PlexusBeanModule with(SpaceModule.Strategy _strategy)
public PlexusBeanSource configure(com.google.inject.Binder binder)
PlexusBeanModulePlexusBeanSource metadata.configure in interface PlexusBeanModuleModule.configure(Binder)Copyright © 2016. All Rights Reserved.