com.tirsen.angkor.process
Class Pipeline

java.lang.Object
  |
  +--com.tirsen.angkor.process.Pipeline
Direct Known Subclasses:
DefaultPipeline

public abstract class Pipeline
extends java.lang.Object

Version:
$Revision: 1.4 $
Author:
Jon Tirs´n (tirsen@users.sourceforge.net)

Nested Class Summary
protected static class Pipeline.BasicExecuteContext
           
 
Constructor Summary
Pipeline()
           
 
Method Summary
 void addValve(Valve valve)
           
 ExecuteContext createExecuteContext(RenderContext renderContext)
          Used in unit tests to set up ExecuteContext differently.
 ExecuteContext createSubContext(ExecuteContext context)
           
 void execute(ExecuteContext exec)
          Used in unit tests to set up ExecuteContext differently.
 void execute(RenderContext renderContext)
           
 Valve findValve(java.lang.Class valveClass)
           
static ExecuteContext getCurrentExecuteContext()
           
protected  void initContext(ExecuteContext exec, RenderContext renderContext)
           
 void insertBefore(Valve insertBefore, Valve valveToInsert)
           
 void replaceValve(Valve valveToReplace, Valve valveToReplaceWith)
           
protected static void setCurrentExecuteContext(ExecuteContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pipeline

public Pipeline()
Method Detail

initContext

protected void initContext(ExecuteContext exec,
                           RenderContext renderContext)
                    throws javax.servlet.ServletException,
                           java.io.IOException
javax.servlet.ServletException
java.io.IOException

execute

public void execute(RenderContext renderContext)
             throws java.lang.Exception
java.lang.Exception

execute

public void execute(ExecuteContext exec)
             throws java.lang.Exception
Used in unit tests to set up ExecuteContext differently.

java.lang.Exception

createExecuteContext

public ExecuteContext createExecuteContext(RenderContext renderContext)
                                    throws java.lang.Exception
Used in unit tests to set up ExecuteContext differently.

java.lang.Exception

createSubContext

public ExecuteContext createSubContext(ExecuteContext context)

addValve

public void addValve(Valve valve)

findValve

public Valve findValve(java.lang.Class valveClass)

insertBefore

public void insertBefore(Valve insertBefore,
                         Valve valveToInsert)

replaceValve

public void replaceValve(Valve valveToReplace,
                         Valve valveToReplaceWith)

getCurrentExecuteContext

public static ExecuteContext getCurrentExecuteContext()

setCurrentExecuteContext

protected static void setCurrentExecuteContext(ExecuteContext context)


Copyright © 2002-2002 . All Rights Reserved.