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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
register
(ContainerBuilder builder, LocatableProperties props) Registers beans and properties for the ContainerMethods inherited from class org.apache.struts2.config.PropertiesConfigurationProvider
destroy, init, loadPackages, loadSettings, needsReload
-
Constructor Details
-
DefaultPropertiesProvider
public DefaultPropertiesProvider()
-
-
Method Details
-
register
public void register(ContainerBuilder builder, LocatableProperties props) throws ConfigurationException Description copied from interface:ContainerProvider
Registers beans and properties for the Container- Specified by:
register
in interfaceContainerProvider
- Overrides:
register
in classPropertiesConfigurationProvider
- Parameters:
builder
- The builder to register beans withprops
- The properties to register constants with- Throws:
ConfigurationException
- If anything goes wrong
-