org.apache.struts2.config
类 DefaultPropertiesProvider

java.lang.Object
  继承者 org.apache.struts2.config.PropertiesConfigurationProvider
      继承者 org.apache.struts2.config.DefaultPropertiesProvider
所有已实现的接口:
com.opensymphony.xwork2.config.ConfigurationProvider, com.opensymphony.xwork2.config.ContainerProvider, com.opensymphony.xwork2.config.PackageProvider

public class DefaultPropertiesProvider
extends PropertiesConfigurationProvider

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


构造方法摘要
DefaultPropertiesProvider()
           
 
方法摘要
 void destroy()
           
 void init(com.opensymphony.xwork2.config.Configuration configuration)
           
 void register(com.opensymphony.xwork2.inject.ContainerBuilder builder, com.opensymphony.xwork2.util.location.LocatableProperties props)
           
 
从类 org.apache.struts2.config.PropertiesConfigurationProvider 继承的方法
loadPackages, needsReload
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

DefaultPropertiesProvider

public DefaultPropertiesProvider()
方法详细信息

destroy

public void destroy()
指定者:
接口 com.opensymphony.xwork2.config.ContainerProvider 中的 destroy
覆盖:
PropertiesConfigurationProvider 中的 destroy

init

public void init(com.opensymphony.xwork2.config.Configuration configuration)
          throws com.opensymphony.xwork2.config.ConfigurationException
指定者:
接口 com.opensymphony.xwork2.config.ContainerProvider 中的 init
指定者:
接口 com.opensymphony.xwork2.config.PackageProvider 中的 init
覆盖:
PropertiesConfigurationProvider 中的 init
抛出:
com.opensymphony.xwork2.config.ConfigurationException

register

public void register(com.opensymphony.xwork2.inject.ContainerBuilder builder,
                     com.opensymphony.xwork2.util.location.LocatableProperties props)
              throws com.opensymphony.xwork2.config.ConfigurationException
指定者:
接口 com.opensymphony.xwork2.config.ContainerProvider 中的 register
覆盖:
PropertiesConfigurationProvider 中的 register
抛出:
com.opensymphony.xwork2.config.ConfigurationException