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