public class XWorkConfigurationProvider extends Object implements ConfigurationProvider
Constructor and Description |
---|
XWorkConfigurationProvider() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Called before removed from the configuration manager
|
void |
init(Configuration configuration)
Initializes with the configuration
|
void |
loadPackages()
Loads the packages for the configuration.
|
boolean |
needsReload()
Tells whether the ContainerProvider should reload its configuration
|
void |
register(ContainerBuilder builder,
LocatableProperties props)
Registers beans and properties for the Container
|
public void destroy()
ContainerProvider
destroy
in interface ContainerProvider
public void init(Configuration configuration) throws ConfigurationException
ContainerProvider
init
in interface ContainerProvider
init
in interface PackageProvider
configuration
- The configurationConfigurationException
- If anything goes wrongpublic void loadPackages() throws ConfigurationException
PackageProvider
loadPackages
in interface PackageProvider
ConfigurationException
- in case of configuration errorspublic boolean needsReload()
ContainerProvider
needsReload
in interface ContainerProvider
needsReload
in interface PackageProvider
public void register(ContainerBuilder builder, LocatableProperties props) throws ConfigurationException
ContainerProvider
register
in interface ContainerProvider
builder
- The builder to register beans withprops
- The properties to register constants withConfigurationException
- If anything goes wrongCopyright © 2000–2020 Apache Software Foundation. All rights reserved.