1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.jetspeed.pipeline.valve;
18
19 import org.apache.jetspeed.request.RequestContext;
20 import org.apache.jetspeed.pipeline.PipelineException;
21
22 /***
23 * NOTE: This class will be deprecated once we merge with Summit
24 *
25 * General valve interface. The actual valve interface(s) should be
26 * extended by the implementing class.
27 *
28 * @author <a href="mailto:david@bluesunrise.com">David Sean Taylor</a>
29 * @version $Id: Valve.java 186726 2004-06-05 05:13:09Z taylor $
30 *
31 * @see org.apache.jetspeed.pipeline.JetspeedPipeline
32 * @see org.apache.jetspeed.pipeline.Pipeline
33 */
34 public interface Valve
35 {
36 public void invoke(RequestContext request, ValveContext context)
37 throws PipelineException;
38
39 /***
40 * Initialize the valve before using in a pipeline.
41 */
42 public void initialize()
43 throws PipelineException;
44
45 }