org.apache.struts2.config
Class PropertiesConfigurationProvider
java.lang.Object
org.apache.struts2.config.PropertiesConfigurationProvider
- All Implemented Interfaces:
- ConfigurationProvider, ContainerProvider, PackageProvider
- Direct Known Subclasses:
- DefaultPropertiesProvider
public class PropertiesConfigurationProvider
- extends Object
- implements ConfigurationProvider
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertiesConfigurationProvider
public PropertiesConfigurationProvider()
destroy
public void destroy()
- Specified by:
destroy in interface ContainerProvider
init
public void init(Configuration configuration)
throws ConfigurationException
- Specified by:
init in interface ContainerProvider- Specified by:
init in interface PackageProvider
- Throws:
ConfigurationException
loadPackages
public void loadPackages()
throws ConfigurationException
- Specified by:
loadPackages in interface PackageProvider
- Throws:
ConfigurationException
needsReload
public boolean needsReload()
- Specified by:
needsReload in interface ContainerProvider- Specified by:
needsReload in interface PackageProvider
register
public void register(ContainerBuilder builder,
LocatableProperties props)
throws ConfigurationException
- Specified by:
register in interface ContainerProvider
- Throws:
ConfigurationException
loadSettings
protected void loadSettings(LocatableProperties props,
org.apache.struts2.config.Settings settings)
- Parameters:
props - settings -
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.