org.apache.struts2.config
Class DefaultPropertiesProvider

java.lang.Object
  extended by org.apache.struts2.config.LegacyPropertiesConfigurationProvider
      extended by org.apache.struts2.config.DefaultPropertiesProvider
All Implemented Interfaces:
ConfigurationProvider, ContainerProvider, PackageProvider

public class DefaultPropertiesProvider
extends LegacyPropertiesConfigurationProvider

Loads the default properties, separate from the usual struts.properties loading


Constructor Summary
DefaultPropertiesProvider()
           
 
Method Summary
 void destroy()
           
 void init(Configuration configuration)
           
 void register(ContainerBuilder builder, LocatableProperties props)
           
 
Methods inherited from class org.apache.struts2.config.LegacyPropertiesConfigurationProvider
loadPackages, loadSettings, needsReload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPropertiesProvider

public DefaultPropertiesProvider()
Method Detail

destroy

public void destroy()
Specified by:
destroy in interface ContainerProvider
Overrides:
destroy in class LegacyPropertiesConfigurationProvider

init

public void init(Configuration configuration)
          throws ConfigurationException
Specified by:
init in interface ContainerProvider
Specified by:
init in interface PackageProvider
Overrides:
init in class LegacyPropertiesConfigurationProvider
Throws:
ConfigurationException

register

public void register(ContainerBuilder builder,
                     LocatableProperties props)
              throws ConfigurationException
Specified by:
register in interface ContainerProvider
Overrides:
register in class LegacyPropertiesConfigurationProvider
Throws:
ConfigurationException


Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.