com.oroad.stxx.chain.legacy
Class PerformStxxInclude

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

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

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

Version:
$Revision: 1.1 $ $Date: 2004/05/14 23:11:45 $
Author:
Don Brown

Constructor Summary
PerformStxxInclude()
           
 
Method Summary
 boolean execute(org.apache.commons.chain.Context context)
          Perform an include based on the specified include uri (if any).
 java.lang.String getIncludeKey()
          Return the context attribute key under which the include uri 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 setIncludeKey(java.lang.String includeKey)
          Set the context attribute key under which the include uri 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

PerformStxxInclude

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

getIncludeKey

public java.lang.String getIncludeKey()

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


setIncludeKey

public void setIncludeKey(java.lang.String includeKey)

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

Parameters:
includeKey - 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

Perform an include based on the specified include uri (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