public final class PlexusAnnotatedBeanModule extends java.lang.Object implements PlexusBeanModule
PlexusBeanModule that binds Plexus components by scanning classes for runtime annotations.| Constructor and Description |
|---|
PlexusAnnotatedBeanModule(org.eclipse.sisu.space.ClassSpace space,
java.util.Map<?,?> variables)
Creates a bean source that scans the given class space for Plexus annotations using the given scanner.
|
PlexusAnnotatedBeanModule(org.eclipse.sisu.space.ClassSpace space,
java.util.Map<?,?> variables,
org.eclipse.sisu.space.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(org.eclipse.sisu.space.SpaceModule.Strategy _strategy) |
public PlexusAnnotatedBeanModule(org.eclipse.sisu.space.ClassSpace space,
java.util.Map<?,?> variables)
space - The local class spacevariables - The filter variablespublic PlexusAnnotatedBeanModule(org.eclipse.sisu.space.ClassSpace space,
java.util.Map<?,?> variables,
org.eclipse.sisu.space.BeanScanning scanning)
space - The local class spacevariables - The filter variablesscanning - The scanning optionspublic PlexusBeanModule with(org.eclipse.sisu.space.SpaceModule.Strategy _strategy)
public PlexusBeanSource configure(com.google.inject.Binder binder)
PlexusBeanModulePlexusBeanSource metadata.configure in interface PlexusBeanModuleModule.configure(Binder)