Package org.eclipse.sisu.plexus
Class PlexusAnnotatedBeanModule
- java.lang.Object
-
- org.eclipse.sisu.plexus.PlexusAnnotatedBeanModule
-
- All Implemented Interfaces:
PlexusBeanModule
public final class PlexusAnnotatedBeanModule extends java.lang.Object implements PlexusBeanModule
PlexusBeanModule
that binds Plexus components by scanning classes for runtime annotations.
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlexusBeanSource
configure(com.google.inject.Binder binder)
Contributes bindings and returns any associatedPlexusBeanSource
metadata.PlexusBeanModule
with(org.eclipse.sisu.space.SpaceModule.Strategy _strategy)
-
-
-
Constructor Detail
-
PlexusAnnotatedBeanModule
public 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.- Parameters:
space
- The local class spacevariables
- The filter variables
-
PlexusAnnotatedBeanModule
public 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.- Parameters:
space
- The local class spacevariables
- The filter variablesscanning
- The scanning options
-
-
Method Detail
-
with
public PlexusBeanModule with(org.eclipse.sisu.space.SpaceModule.Strategy _strategy)
-
configure
public PlexusBeanSource configure(com.google.inject.Binder binder)
Description copied from interface:PlexusBeanModule
Contributes bindings and returns any associatedPlexusBeanSource
metadata.- Specified by:
configure
in interfacePlexusBeanModule
- See Also:
Module.configure(Binder)
-
-