PlexusBeanModulepublic final class PlexusXmlBeanModule extends java.lang.Object implements PlexusBeanModule
PlexusBeanModule that binds Plexus components by scanning XML resources.| Constructor | Description |
|---|---|
PlexusXmlBeanModule(org.eclipse.sisu.space.ClassSpace space,
java.util.Map<?,?> variables) |
Creates a bean source that only scans the local class space for XML resources.
|
PlexusXmlBeanModule(org.eclipse.sisu.space.ClassSpace space,
java.util.Map<?,?> variables,
java.net.URL plexusXml) |
Creates a bean source that scans all the surrounding class spaces for XML resources.
|
| Modifier and Type | Method | Description |
|---|---|---|
PlexusBeanSource |
configure(com.google.inject.Binder binder) |
Contributes bindings and returns any associated
PlexusBeanSource metadata. |
public PlexusXmlBeanModule(org.eclipse.sisu.space.ClassSpace space,
java.util.Map<?,?> variables,
java.net.URL plexusXml)
space - The main class spacevariables - The filter variablesplexusXml - The plexus.xml URLpublic PlexusXmlBeanModule(org.eclipse.sisu.space.ClassSpace space,
java.util.Map<?,?> variables)
space - The local class spacevariables - The filter variablespublic PlexusBeanSource configure(com.google.inject.Binder binder)
PlexusBeanModulePlexusBeanSource metadata.configure in interface PlexusBeanModuleModule.configure(Binder)