Package org.apache.struts2.config
Class DefaultPropertiesProvider
java.lang.Object
org.apache.struts2.config.PropertiesConfigurationProvider
org.apache.struts2.config.DefaultPropertiesProvider
- All Implemented Interfaces:
- ConfigurationProvider,- ContainerProvider,- PackageProvider
Loads the default properties, separate from the usual struts.properties loading
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidregister(ContainerBuilder builder, LocatableProperties props) Registers beans and properties for the ContainerMethods inherited from class org.apache.struts2.config.PropertiesConfigurationProviderdestroy, init, loadPackages, loadSettings, needsReload
- 
Constructor Details- 
DefaultPropertiesProviderpublic DefaultPropertiesProvider()
 
- 
- 
Method Details- 
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
- Overrides:
- registerin class- PropertiesConfigurationProvider
- Parameters:
- builder- The builder to register beans with
- props- The properties to register constants with
- Throws:
- ConfigurationException- If anything goes wrong
 
 
-