Interface RuntimeConfiguration

All Superinterfaces:
Serializable

public interface RuntimeConfiguration extends Serializable
RuntimeConfiguration
Author:
Jason Carreira Created Feb 25, 2003 10:56:02 PM
  • Method Details

    • 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
    • getMatchedActionConfig

      default ActionConfig getMatchedActionConfig(String namespace, String name)
      Same lookup as getActionConfig(String, String), but returns null when the result comes only from a namespace's default-action-ref, so only exact and wildcard matches of name are returned.
      Parameters:
      namespace - the namespace of the Action, null means the empty namespace
      name - the name of the Action
      Returns:
      the matched ActionConfig, or null
      Since:
      7.5.0
    • 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