View Javadoc

1   package org.apache.turbine.pipeline;
2   
3   import java.util.Map;
4   
5   
6   /*
7    * Copyright 2001-2004 The Apache Software Foundation.
8    *
9    * Licensed under the Apache License, Version 2.0 (the "License")
10   * you may not use this file except in compliance with the License.
11   * You may obtain a copy of the License at
12   *
13   *     http://www.apache.org/licenses/LICENSE-2.0
14   *
15   * Unless required by applicable law or agreed to in writing, software
16   * distributed under the License is distributed on an "AS IS" BASIS,
17   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18   * See the License for the specific language governing permissions and
19   * limitations under the License.
20   */
21  
22  
23  /***
24   * <p>A <b>PipelineData</b> is a holder for data being passed from one
25   * Valve to the next.  
26   * The detailed contract for a Valve is included in the description of
27   * the <code>invoke()</code> method below.</p>
28   *
29   * <b>HISTORICAL NOTE</b>:  The "PipelineData" name was assigned to this
30   * holder as it functions similarily to the RunData object, but without
31   * the additional methods
32   *
33   * @author <a href="mailto:epugh@opensourceconnections.com">Eric Pugh</a>
34   * @author <a href="mailto:peter@courcoux.biz">Peter Courcoux</a>
35   */
36  public interface PipelineData
37  {
38      public void put(Class name, Map value);
39      
40      public Object get(Class name);
41      
42      public Object get(Class key, Object innerKey);
43  }