Package org.hippoecm.hst.core.container
Interface Valve
- All Known Subinterfaces:
OrderableValve
- All Known Implementing Classes:
AbstractOrderableValve
,AbstractValve
public interface Valve
General valve interface.
Valves are to be assembled and invoked by a
Pipeline
.- Version:
- $Id$
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
Called by the container to indicate to a valve that the valve is being taken out of servicevoid
Initialize the valve before using in a pipeline.void
invoke
(ValveContext context) Invoke this valve
-
Method Details
-
invoke
Invoke this valve- Parameters:
context
-- Throws:
ContainerException
-
initialize
Initialize the valve before using in a pipeline.- Throws:
ContainerException
-
destroy
void destroy()Called by the container to indicate to a valve that the valve is being taken out of service
-