Package org.eclipse.sisu.plexus
Class PlexusAnnotatedBeanModule
java.lang.Object
org.eclipse.sisu.plexus.PlexusAnnotatedBeanModule
- All Implemented Interfaces:
PlexusBeanModule
PlexusBeanModule
that binds Plexus components by scanning classes for runtime annotations.-
Constructor Summary
ConstructorsConstructorDescriptionPlexusAnnotatedBeanModule
(org.eclipse.sisu.space.ClassSpace space, 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, 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
Modifier and TypeMethodDescriptionconfigure
(com.google.inject.Binder binder) Contributes bindings and returns any associatedPlexusBeanSource
metadata.with
(org.eclipse.sisu.space.SpaceModule.Strategy _strategy)
-
Constructor Details
-
PlexusAnnotatedBeanModule
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, 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 Details
-
with
-
configure
Description copied from interface:PlexusBeanModule
Contributes bindings and returns any associatedPlexusBeanSource
metadata.- Specified by:
configure
in interfacePlexusBeanModule
- See Also:
-