com.opensymphony.xwork2.config.impl
Class DefaultConfiguration.RuntimeConfigurationImpl
java.lang.Object
com.opensymphony.xwork2.config.impl.DefaultConfiguration.RuntimeConfigurationImpl
- All Implemented Interfaces:
- RuntimeConfiguration, Serializable
- Enclosing class:
- DefaultConfiguration
private class DefaultConfiguration.RuntimeConfigurationImpl
- extends Object
- implements RuntimeConfiguration
namespaceActionConfigs
private Map<String,Map<String,ActionConfig>> namespaceActionConfigs
namespaceActionConfigMatchers
private Map<String,ActionConfigMatcher> namespaceActionConfigMatchers
namespaceMatcher
private NamespaceMatcher namespaceMatcher
namespaceConfigs
private Map<String,String> namespaceConfigs
DefaultConfiguration.RuntimeConfigurationImpl
public DefaultConfiguration.RuntimeConfigurationImpl(Map<String,Map<String,ActionConfig>> namespaceActionConfigs,
Map<String,String> namespaceConfigs)
getActionConfig
public ActionConfig getActionConfig(String namespace,
String name)
- Gets the configuration information for an action name, or returns null if the
name is not recognized.
- Specified by:
getActionConfig
in interface RuntimeConfiguration
- Parameters:
name
- the name of the actionnamespace
- the namespace for the action or null for the empty namespace, ""
- Returns:
- the configuration information for action requested
findActionConfigInNamespace
ActionConfig findActionConfigInNamespace(String namespace,
String name)
getActionConfigs
public Map getActionConfigs()
- Gets the configuration settings for every action.
- Specified by:
getActionConfigs
in interface RuntimeConfiguration
- Returns:
- a Map of namespace - > Map of ActionConfig objects, with the key being the action name
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.