org.apache.jetspeed.pipeline
Class JetspeedPipeline

java.lang.Object
  extended by org.apache.jetspeed.pipeline.JetspeedPipeline
All Implemented Interfaces:
org.apache.jetspeed.pipeline.Pipeline

public class JetspeedPipeline
extends Object
implements org.apache.jetspeed.pipeline.Pipeline

Flexible implementation of a Pipeline.



Suggested order of valves:

Version:
$Id: JetspeedPipeline.java 516448 2007-03-09 16:25:47Z ate $
Author:
Jason van Zyl, David Sean Taylor

Nested Class Summary
private static class JetspeedPipeline.Invocation
           
 
Field Summary
protected  String name
          Name of this pipeline.
protected  org.apache.jetspeed.pipeline.valve.Valve[] valves
          The set of Valves associated with this Pipeline.
 
Constructor Summary
JetspeedPipeline(String name, List valveList)
          Constructor that provides the descriptor for building the pipeline
 
Method Summary
 void addValve(org.apache.jetspeed.pipeline.valve.Valve valve)
           
 String getName()
          Get the name of this pipeline.
 org.apache.jetspeed.pipeline.valve.Valve[] getValves()
           
 void initialize()
           
 void invoke(org.apache.jetspeed.request.RequestContext request)
           
 void removeValve(org.apache.jetspeed.pipeline.valve.Valve valve)
           
 void setName(String name)
          Set the name of this pipeline.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name
Name of this pipeline.


valves

protected org.apache.jetspeed.pipeline.valve.Valve[] valves
The set of Valves associated with this Pipeline.

Constructor Detail

JetspeedPipeline

public JetspeedPipeline(String name,
                        List valveList)
                 throws Exception
Constructor that provides the descriptor for building the pipeline

Throws:
Exception
Method Detail

initialize

public void initialize()
                throws org.apache.jetspeed.pipeline.PipelineException
Specified by:
initialize in interface org.apache.jetspeed.pipeline.Pipeline
Throws:
org.apache.jetspeed.pipeline.PipelineException

setName

public void setName(String name)
Set the name of this pipeline.

Parameters:
name - Name of this pipeline.

getName

public String getName()
Get the name of this pipeline.

Specified by:
getName in interface org.apache.jetspeed.pipeline.Pipeline
Returns:
String Name of this pipeline.

addValve

public void addValve(org.apache.jetspeed.pipeline.valve.Valve valve)
Specified by:
addValve in interface org.apache.jetspeed.pipeline.Pipeline

getValves

public org.apache.jetspeed.pipeline.valve.Valve[] getValves()
Specified by:
getValves in interface org.apache.jetspeed.pipeline.Pipeline

removeValve

public void removeValve(org.apache.jetspeed.pipeline.valve.Valve valve)
Specified by:
removeValve in interface org.apache.jetspeed.pipeline.Pipeline

invoke

public void invoke(org.apache.jetspeed.request.RequestContext request)
            throws org.apache.jetspeed.pipeline.PipelineException
Specified by:
invoke in interface org.apache.jetspeed.pipeline.Pipeline
Throws:
org.apache.jetspeed.pipeline.PipelineException


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.