org.codehaus.plexus.summit.pipeline
Interface Pipeline

All Superinterfaces:
SummitComponent
All Known Implementing Classes:
AbstractPipeline

public interface Pipeline
extends SummitComponent

A Pipeline is the entity which controls the flow of the request/response lifecyle in Summit.

Version:
$Id: Pipeline.java 2082 2005-06-05 02:58:52Z jvanzyl $
Author:
Jason van Zyl

Field Summary
static java.lang.String ROLE
           
static java.lang.String SELECTOR_ROLE
           
 
Method Summary
 java.util.List getValves()
           
 void invoke(RunData data)
          Cause the specified request and response to be processed by the sequence of Valves associated with this pipeline, until one of these Valves decides to end the processing.
 
Methods inherited from interface org.codehaus.plexus.summit.SummitComponent
getContainer, lookup, lookup
 

Field Detail

ROLE

public static final java.lang.String ROLE

SELECTOR_ROLE

public static final java.lang.String SELECTOR_ROLE
Method Detail

invoke

public void invoke(RunData data)
            throws java.io.IOException,
                   ValveInvocationException

Cause the specified request and response to be processed by the sequence of Valves associated with this pipeline, until one of these Valves decides to end the processing.

The implementation must ensure that multiple simultaneous requests (on different threads) can be processed through the same Pipeline without interfering with each other's control flow.

Parameters:
data - The run-time information, including the servlet request and response we are processing.
Throws:
java.io.IOException - an input/output error occurred.
ValveInvocationException

getValves

public java.util.List getValves()


Copyright © 2001-2007 Codehaus. All Rights Reserved.