1 /* 2 * Copyright 2000-2004 The Apache Software Foundation. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 package org.jahia.pipelines.valves; 17 18 import org.jahia.pipelines.*; 19 20 /** 21 * NOTE: This class will be deprecated once we merge with Summit 22 * 23 * General valve interface. The actual valve interface(s) should be 24 * extended by the implementing class. 25 * 26 * @author <a HREF="mailto:david@bluesunrise.com">David Sean Taylor</a> 27 * @version $Id: Valve.java 10570 2005-09-13 09:35:40Z pvollenweider $ 28 * 29 */ 30 public interface Valve { 31 32 public void invoke(Object context, ValveContext valveContext) throws PipelineException ; 33 public void initialize(); 34 } 35