com.oroad.stxx.chain.legacy
Class PerformStxxForward

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

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

Perform forwarding or redirection based on the specified ForwardConfig (if any).

Version:
$Revision: 1.1 $ $Date: 2004/05/14 23:11:45 $
Author:
Craig R. McClanahan

Constructor Summary
PerformStxxForward()
           
 
Method Summary
 boolean execute(org.apache.commons.chain.Context context)
          Perform forwarding or redirection based on the specified ActionForward (if any).
 java.lang.String getForwardConfigKey()
          Return the context attribute key under which the ForwardConfig 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 will be stored.
 java.lang.String getRequestProcessorHelperKey()
          Return the context attribute key under which the RequestProcessorHelper for the currently selected application action is stored.
 void setForwardConfigKey(java.lang.String forwardConfigKey)
          Set the context attribute key under which the ForwardConfig 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 will be 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

PerformStxxForward

public PerformStxxForward()
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

getForwardConfigKey

public java.lang.String getForwardConfigKey()

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


setForwardConfigKey

public void setForwardConfigKey(java.lang.String forwardConfigKey)

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

Parameters:
forwardConfigKey - 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 will be stored.


setModuleConfigKey

public void setModuleConfigKey(java.lang.String moduleConfigKey)

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

Parameters:
moduleConfigKey - The new context attribute key

execute

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

Perform forwarding or redirection based on the specified ActionForward (if any).

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