com.oroad.stxx.chain.legacy
Class Initialize

java.lang.Object
  extended bycom.oroad.stxx.chain.legacy.Initialize
All Implemented Interfaces:
org.apache.commons.chain.Command

public class Initialize
extends java.lang.Object
implements org.apache.commons.chain.Command

Create (if necessary) and cache a form bean for this request.

Version:
$Revision: 1.2 $ $Date: 2005/02/12 23:28:40 $
Author:
Craig R. McClanahan

Constructor Summary
Initialize()
           
 
Method Summary
 boolean execute(org.apache.commons.chain.Context context)
          Initialize Stxx.
 java.lang.String getActionServletKey()
          Return the context attribute key under which the ActionServlet for the currently selected application action is stored.
 java.lang.String getModuleConfigKey()
          Return the context attribute key under which the ModuleConfig for the currently selected application module is stored.
 java.lang.String getRequestProcessorHelperKey()
          Return the context attribute key under which the RequestProcessorHelper for the currently selected application action is stored.
 void setActionServletKey(java.lang.String actionServletKey)
          Set the context attribute key under which the ActionServlet for the currently selected application action is stored.
 void setModuleConfigKey(java.lang.String moduleConfigKey)
          Set the context attribute key under which the ModuleConfig for the currently selected application module is stored.
 void setRequestProcessorHelperKey(java.lang.String requestProcessorHelperKey)
          Set the context attribute key under which the RequestProcessorHelper for the currently selected application action is stored.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Initialize

public Initialize()
Method Detail

getRequestProcessorHelperKey

public java.lang.String getRequestProcessorHelperKey()

Return the context attribute key under which the RequestProcessorHelper for the currently selected application action is stored.


setRequestProcessorHelperKey

public void setRequestProcessorHelperKey(java.lang.String requestProcessorHelperKey)

Set the context attribute key under which the RequestProcessorHelper for the currently selected application action is stored.

Parameters:
requestProcessorHelperKey - The new context attribute key

getActionServletKey

public java.lang.String getActionServletKey()

Return the context attribute key under which the ActionServlet for the currently selected application action is stored.


setActionServletKey

public void setActionServletKey(java.lang.String actionServletKey)

Set the context attribute key under which the ActionServlet for the currently selected application action is stored.

Parameters:
actionServletKey - The new context attribute key

getModuleConfigKey

public java.lang.String getModuleConfigKey()

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


setModuleConfigKey

public void setModuleConfigKey(java.lang.String moduleConfigKey)

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

Parameters:
moduleConfigKey - The new context attribute key

execute

public boolean execute(org.apache.commons.chain.Context context)
                throws java.lang.Exception

Initialize Stxx.

Specified by:
execute in interface org.apache.commons.chain.Command
Parameters:
context - The Context for the current request
Returns:
false so that processing continues
Throws:
java.lang.Exception