public class DelegatingOrderableValve extends AbstractOrderableValve
An OrderableValve
implementation which delegates to the internal valve.
This implementation is useful if you want to wrap a non-orderable valve component
with specifying the name, beforeValves and afterValves properties.
Constructor and Description |
---|
DelegatingOrderableValve(Valve delegatee) |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Called by the container to indicate to a valve that the valve is being taken out of service
|
void |
initialize()
Initialize the valve before using in a pipeline.
|
void |
invoke(ValveContext context)
Invoke this valve
|
getAfterValves, getBeforeValves, getValveName, setAfterValves, setBeforeValves, setValveName
public DelegatingOrderableValve(Valve delegatee)
public void invoke(ValveContext context) throws ContainerException
Valve
invoke
in interface Valve
invoke
in class AbstractValve
ContainerException
public void initialize() throws ContainerException
Valve
initialize
in interface Valve
initialize
in class AbstractValve
ContainerException
public void destroy()
Valve
destroy
in interface Valve
destroy
in class AbstractValve
Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.