Class StrutsDefaultConfigurationProvider
java.lang.Object
org.apache.struts2.config.providers.StrutsDefaultConfigurationProvider
- All Implemented Interfaces:
- ConfigurationProvider,- ContainerProvider,- PackageProvider
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoiddestroy()Called before removed from the configuration managervoidinit(Configuration configuration) Initializes with the configurationvoidLoads the packages for the configuration.booleanTells whether the ContainerProvider should reload its configurationvoidregister(ContainerBuilder builder, LocatableProperties props) Registers beans and properties for the Container
- 
Constructor Details- 
StrutsDefaultConfigurationProviderpublic StrutsDefaultConfigurationProvider()
 
- 
- 
Method Details- 
destroypublic void destroy()Description copied from interface:ContainerProviderCalled before removed from the configuration manager- Specified by:
- destroyin interface- ContainerProvider
 
- 
initDescription copied from interface:ContainerProviderInitializes with the configuration- Specified by:
- initin interface- ContainerProvider
- Specified by:
- initin interface- PackageProvider
- Parameters:
- configuration- The configuration
- Throws:
- ConfigurationException- If anything goes wrong
 
- 
loadPackagesDescription copied from interface:PackageProviderLoads the packages for the configuration.- Specified by:
- loadPackagesin interface- PackageProvider
- Throws:
- ConfigurationException- in case of configuration errors
 
- 
needsReloadpublic boolean needsReload()Description copied from interface:ContainerProviderTells whether the ContainerProvider should reload its configuration- Specified by:
- needsReloadin interface- ContainerProvider
- Specified by:
- needsReloadin interface- PackageProvider
- Returns:
- true, whether the ContainerProvider should reload its configuration, falseotherwise.
 
- 
registerpublic void register(ContainerBuilder builder, LocatableProperties props) throws ConfigurationException Description copied from interface:ContainerProviderRegisters beans and properties for the Container- Specified by:
- registerin interface- ContainerProvider
- Parameters:
- builder- The builder to register beans with
- props- The properties to register constants with
- Throws:
- ConfigurationException- If anything goes wrong
 
 
-