API Overview API Index Package Overview Direct link to this page
Struts 1.3
  org.apache.struts.config. ModuleConfig View Source
Author(s)
Since
Struts 1.1
Version
$Rev: 471754 $ $Date: 2005-08-06 04:12:10 -0400 (Sat, 06 Aug 2005) $
Serial
Hierarchy
 ModuleConfig
Subinterfaces
Description
public interface ModuleConfig
  The collection of static configuration information that describes a Struts-based module.
See also:   
Methods
Hide/Show inherited methods
public void addActionConfig (ActionConfig config)
  Add a new ActionConfig instance to the set associated with this module.
public void addExceptionConfig (ExceptionConfig config)
  Add a new ExceptionConfig instance to the set associated with this module.
public void addFormBeanConfig (FormBeanConfig config)
  Add a new FormBeanConfig instance to the set associated with this module.
public void addForwardConfig (ForwardConfig config)
  Add a new ForwardConfig instance to the set of global forwards associated with this module.
public void addMessageResourcesConfig (MessageResourcesConfig config)
  Add a new MessageResourcesConfig instance to the set associated with this module.
public void addPlugInConfig (PlugInConfig plugInConfig)
  Add a newly configured PlugInConfig instance to the set of plug-in Actions for this module.
public ActionConfig findActionConfig (String path)
  Return the action configuration for the specified path, if any; otherwise return null.
public ActionConfig findActionConfigId (String actionId)
  Returns the action configuration for the specifed action action identifier.
public ActionConfig findActionConfigs ()
  Return the action configurations for this module.
public ExceptionConfig findException (Class type)
  Perform a recursive search for an ExceptionConfig registered for this class, or for any superclass.
public ExceptionConfig findExceptionConfig (String type)
  Return the exception configuration for the specified type, if any; otherwise return null.
public ExceptionConfig findExceptionConfigs ()
  Return the exception configurations for this module.
public FormBeanConfig findFormBeanConfig (String name)
  Return the form bean configuration for the specified key, if any; otherwise return null.
public FormBeanConfig findFormBeanConfigs ()
  Return the form bean configurations for this module.
public ForwardConfig findForwardConfig (String name)
  Return the forward configuration for the specified key, if any; otherwise return null.
public ForwardConfig findForwardConfigs ()
  Return the form bean configurations for this module.
public MessageResourcesConfig findMessageResourcesConfig (String key)
  Return the message resources configuration for the specified key, if any; otherwise return null.
public MessageResourcesConfig findMessageResourcesConfigs ()
  Return the message resources configurations for this module.
public PlugInConfig findPlugInConfigs ()
  Return the configured plug-in actions for this module.
public void freeze ()
  Freeze the configuration of this module.
public String getActionFormBeanClass ()
  The default class name to be used when creating action form bean instances.
public String getActionForwardClass ()
  The default class name to be used when creating action forward instances.
public String getActionMappingClass ()
  The default class name to be used when creating action mapping instances.
public boolean getConfigured ()
  Has this module been completely configured yet.
public ControllerConfig getControllerConfig ()
  The controller configuration object for this module.
public String getPrefix ()
  The prefix of the context-relative portion of the request URI, used to select this configuration versus others supported by the controller servlet.
public void removeActionConfig (ActionConfig config)
  Remove the specified action configuration instance.
public void removeExceptionConfig (ExceptionConfig config)
  Remove the specified exception configuration instance.
public void removeFormBeanConfig (FormBeanConfig config)
  Remove the specified form bean configuration instance.
public void removeForwardConfig (ForwardConfig config)
  Remove the specified forward configuration instance.
public void removeMessageResourcesConfig (MessageResourcesConfig config)
  Remove the specified message resources configuration instance.
public void setActionFormBeanClass (String actionFormBeanClass)
  The default class name to be used when creating action form bean instances.
public void setActionForwardClass (String actionForwardClass)
  The default class name to be used when creating action forward instances.
public void setActionMappingClass (String actionMappingClass)
  The default class name to be used when creating action mapping instances.
public void setControllerConfig (ControllerConfig cc)
  The controller configuration object for this module.
public void setPrefix (String prefix)
  The prefix of the context-relative portion of the request URI, used to select this configuration versus others supported by the controller servlet.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar