org.apache.turbine.pipeline
Class DefaultPipelineData

java.lang.Object
  extended by org.apache.turbine.pipeline.DefaultPipelineData
All Implemented Interfaces:
PipelineData
Direct Known Subclasses:
DefaultTurbineRunData

public class DefaultPipelineData
extends Object
implements PipelineData

A PipelineData is a holder for data being passed from one Valve to the next. The detailed contract for a Valve is included in the description of the invoke() method below.

HISTORICAL NOTE: The "PipelineData" name was assigned to this holder as it functions similarily to the RunData object, but without the additional methods

Author:
Eric Pugh, Peter Courcoux

Constructor Summary
DefaultPipelineData()
           
 
Method Summary
 Map<?,?> get(Class key)
           
 Object get(Class<?> key, Object innerKey)
           
 void put(Class<?> key, Map<?,?> value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPipelineData

public DefaultPipelineData()
Method Detail

put

public void put(Class<?> key,
                Map<?,?> value)
Specified by:
put in interface PipelineData

get

public Map<?,?> get(Class key)
Specified by:
get in interface PipelineData

get

public Object get(Class<?> key,
                  Object innerKey)
Specified by:
get in interface PipelineData


Copyright © 2000-2011 The Apache Software Foundation. All Rights Reserved.