Package org.apache.struts2.config
Interface RuntimeConfiguration
- All Superinterfaces:
Serializable
RuntimeConfiguration
- Author:
- Jason Carreira Created Feb 25, 2003 10:56:02 PM
-
Method Summary
Modifier and TypeMethodDescriptiongetActionConfig
(String namespace, String name) get the fully expanded ActionConfig for a specified namespace and (action) namereturns a Map of all the registered ActionConfigs.
-
Method Details
-
getActionConfig
get the fully expanded ActionConfig for a specified namespace and (action) name- Parameters:
namespace
- the namespace of the Action. if this is null, then the empty namespace, "", will be usedname
- the name of the Action. may not be null.- Returns:
- the requested ActionConfig or null if there was no ActionConfig associated with the specified namespace and name
-
getActionConfigs
Map<String,Map<String, getActionConfigs()ActionConfig>> returns a Map of all the registered ActionConfigs. Again, these ActionConfigs are fully expanded so that any inherited interceptors, results, etc. will be included- Returns:
- a Map of Map keyed by namespace and name respectively such that
ActionConfig config = (ActionConfig)((Map)getActionConfigs.get(namespace)).get(name);
should return a valid config for valid namespace/name pairs
-