Home » Struts-1.3.10 » org.apache.struts » chain » [javadoc | source]
org.apache.struts.chain
abstract public class: AbstractSelectModule [javadoc | source]
java.lang.Object
   org.apache.struts.chain.AbstractSelectModule

All Implemented Interfaces:
    org.apache.commons.chain.Command

Direct Known Subclasses:
    SelectModule

Cache the ModuleConfig and MessageResources instances for the sub-application module to be used for processing this request.

Method from org.apache.struts.chain.AbstractSelectModule Summary:
execute,   getMessageResourcesKey,   getModuleConfigKey,   getPrefix,   setMessageResourcesKey,   setModuleConfigKey
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.struts.chain.AbstractSelectModule Detail:
 public boolean execute(Context context) throws Exception 

    Cache the ModuleConfig and MessageResources instances for the sub-application module to be used for processing this request.

 public String getMessageResourcesKey() 

    Return the context attribute key under which the default MessageResources for the currently selected application module will be stored.

 public String getModuleConfigKey() 

    Return the context attribute key under which the ModuleConfig for the currently selected application module will be stored.

 abstract protected String getPrefix(Context context)

    Calculate and return the module prefix for the module to be selected for this request.

 public  void setMessageResourcesKey(String messageResourcesKey) 

    Set the context attribute key under which the default MessageResources for the currently selected application module will be stored.

 public  void setModuleConfigKey(String moduleConfigKey) 

    Set the context attribute key under which the ModuleConfig for the currently selected application module will be stored.