Package org.eclipse.sisu.plexus
Class PlexusXmlBeanModule
- java.lang.Object
-
- org.eclipse.sisu.plexus.PlexusXmlBeanModule
-
- All Implemented Interfaces:
PlexusBeanModule
public final class PlexusXmlBeanModule extends Object implements PlexusBeanModule
PlexusBeanModule
that binds Plexus components by scanning XML resources.
-
-
Constructor Summary
Constructors Constructor Description PlexusXmlBeanModule(org.eclipse.sisu.space.ClassSpace space, Map<?,?> variables)
Creates a bean source that only scans the local class space for XML resources.PlexusXmlBeanModule(org.eclipse.sisu.space.ClassSpace space, Map<?,?> variables, URL plexusXml)
Creates a bean source that scans all the surrounding class spaces for XML resources.
-
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.
-
-
-
Constructor Detail
-
PlexusXmlBeanModule
public PlexusXmlBeanModule(org.eclipse.sisu.space.ClassSpace space, Map<?,?> variables, URL plexusXml)
Creates a bean source that scans all the surrounding class spaces for XML resources.- Parameters:
space
- The main class spacevariables
- The filter variablesplexusXml
- The plexus.xml URL
-
PlexusXmlBeanModule
public PlexusXmlBeanModule(org.eclipse.sisu.space.ClassSpace space, Map<?,?> variables)
Creates a bean source that only scans the local class space for XML resources.- Parameters:
space
- The local class spacevariables
- The filter variables
-
-
Method Detail
-
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)
-
-