shocks.framework.workflow.sequence.repository
Class SequenceTerminator

java.lang.Object
  extended byshocks.framework.workflow.sequence.repository.SequenceTerminator
All Implemented Interfaces:
java.lang.Cloneable, Workflow

public class SequenceTerminator
extends java.lang.Object
implements Workflow, java.lang.Cloneable


Constructor Summary
SequenceTerminator(Action action)
           
 
Method Summary
 java.lang.Object clone()
           
 DataSource forward(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletContext ctx)
          Forwards a request on to another workflow component.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequenceTerminator

public SequenceTerminator(Action action)
Method Detail

forward

public DataSource forward(javax.servlet.http.HttpServletRequest request,
                          javax.servlet.http.HttpServletResponse response,
                          javax.servlet.ServletContext ctx)
Description copied from interface: Workflow
Forwards a request on to another workflow component. The primary responsibility of this method is to ensure that the flow of control over the application continues. The container may provide additional contextual information (such as in the form of metadata) to assist workflow components in the determination of their operation, but that is not required by this interface.

Specified by:
forward in interface Workflow
Parameters:
request - the HttpServletRequest Object for the current transaction
response - the HttpServletResponse Object for the current transaction
ctx - the ServletContext for the web application
Returns:
DataSource, usually a result object containing information about the success of the workflow sequence.

clone

public java.lang.Object clone()