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) Deprecated.PlexusAnnotatedBeanModule(org.eclipse.sisu.space.ClassSpace space, Map<?, ?> variables, org.eclipse.sisu.space.BeanScanning scanning, boolean strictScanning) 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 associatedPlexusBeanSourcemetadata.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
@Deprecated public PlexusAnnotatedBeanModule(org.eclipse.sisu.space.ClassSpace space, Map<?, ?> variables, org.eclipse.sisu.space.BeanScanning scanning) Deprecated.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
-
PlexusAnnotatedBeanModule
public PlexusAnnotatedBeanModule(org.eclipse.sisu.space.ClassSpace space, Map<?, ?> variables, org.eclipse.sisu.space.BeanScanning scanning, boolean strictScanning) 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:PlexusBeanModuleContributes bindings and returns any associatedPlexusBeanSourcemetadata.- Specified by:
configurein interfacePlexusBeanModule- See Also:
-
PlexusAnnotatedBeanModule(ClassSpace, Map, BeanScanning, boolean)instead.