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