com.opensymphony.xwork2.config
Interface RuntimeConfiguration

All Superinterfaces:
Serializable

public interface RuntimeConfiguration
extends Serializable

RuntimeConfiguration

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

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

Method Detail

getActionConfig

ActionConfig getActionConfig(String namespace,
                             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

Map<String,Map<String,ActionConfig>> 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


Copyright © 2009 OpenSymphony. All Rights Reserved.