com.opensymphony.xwork.config
Interface RuntimeConfiguration


public interface RuntimeConfiguration

RuntimeConfiguration

Author:
Jason Carreira Created Feb 25, 2003 10:56:02 PM

Method Summary
 ActionConfig getActionConfig(java.lang.String namespace, java.lang.String name)
          get the fully expanded ActionConfig for a specified namespace and (action) name
 java.util.Map getActionConfigs()
          returns a Map of all the registered ActionConfigs.
 

Method Detail

getActionConfig

ActionConfig getActionConfig(java.lang.String namespace,
                             java.lang.String name)
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 used
name - 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

java.util.Map getActionConfigs()
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

XWork Project Page