org.apache.struts.config

Class ApplicationConfig

Implemented Interfaces:
Serializable, ModuleConfig

public class ApplicationConfig
extends ModuleConfigImpl

The collection of static configuration information that describes a Struts-based application module. Multiple application modules are identified by a prefix at the beginning of the context relative portion of the request URI. If no application prefix can be matched, the default configuration (with a prefix equal to a zero-length string) is selected, which is elegantly backwards compatible with the previous Struts behavior that only supported one application.

Version:
$Revision: 1.19 $ $Date: 2002/11/07 05:18:26 $

Author:
Craig R. McClanahan

Since:
Struts 1.1

Field Summary

Fields inherited from class org.apache.struts.config.impl.ModuleConfigImpl

actionConfigs, actionMappingClass, configured, controllerConfig, dataSources, exceptions, formBeans, forwards, messageResources, plugIns, prefix

Constructor Summary

ApplicationConfig(String prefix)
Construct an ApplicationConfig object according to the specified parameter values.
ApplicationConfig(ModuleConfigImpl moduleConfig)
Deprecated. Only used while we are deprecating ApplicationConfig to insure maximum compatability.

Method Summary

Methods inherited from class org.apache.struts.config.impl.ModuleConfigImpl

addActionConfig, addDataSourceConfig, addExceptionConfig, addFormBeanConfig, addForwardConfig, addMessageResourcesConfig, addPlugInConfig, findActionConfig, findActionConfigs, findDataSourceConfig, findDataSourceConfigs, findExceptionConfig, findExceptionConfigs, findFormBeanConfig, findFormBeanConfigs, findForwardConfig, findForwardConfigs, findMessageResourcesConfig, findMessageResourcesConfigs, findPlugInConfigs, freeze, getActionMappingClass, getConfigured, getControllerConfig, getPrefix, removeActionConfig, removeDataSourceConfig, removeExceptionConfig, removeFormBeanConfig, removeForwardConfig, removeMessageResourcesConfig, setActionMappingClass, setControllerConfig, setPrefix

Constructor Details

ApplicationConfig

public ApplicationConfig(String prefix)
Construct an ApplicationConfig object according to the specified parameter values.

Parameters:
prefix - Context-relative URI prefix for this module


ApplicationConfig

public ApplicationConfig(ModuleConfigImpl moduleConfig)

Deprecated. Only used while we are deprecating ApplicationConfig to insure maximum compatability.

Only used while we are deprecating ApplicationConfig. performs a shallow copy to ensure that any operations performed on an ApplicationConfig object is performed on the same underlying ModuleConfigImpl sub objects

Parameters:
moduleConfig -


Copyright B) 2000-2005 - Apache Software Foundation