addValve() or removeValve are allowed while a
request is currently being processed. Otherwise, the mechanism by which per-thread state is maintained will need to
be modified.
| Modifier and Type | Field and Description |
|---|---|
| protected Valve | basic
The basic Valve (if any) associated with this Pipeline. |
| protected Container | container
The Container with which this Pipeline is associated. |
| protected Valve | first
The first valve associated with this Pipeline. |
| private static final Log | |
| private static final StringManager |
| Access | Constructor and Description |
|---|---|
| public | |
| public | StandardPipeline(Container
The container we should be associated with container)Construct a new StandardPipeline instance that is associated with the specified Container. |
| Modifier and Type | Method and Description |
|---|---|
| public void | addValve(Valve
Valve to be added valve)Implements org. Add a new Valve to the end of the pipeline associated with this Container. |
| protected void | destroyInternal()
Implements abstract org. Sub-classes implement this method to perform any instance destruction required. |
| public void | findNonAsyncValves(Set<String>
The Set to which the fully qualified class names of each
Valve in this Pipeline that does not support async will be
added result)Implements org. Identifies the Valves, if any, in this Pipeline that do not support async. |
| public Valve | getBasic()
Implements org. Return the Valve instance that has been distinguished as the basic Valve for this Pipeline (if any). |
| public Container | getContainer()
Implements org. Return the Container with which this Pipeline is associated. |
| public Valve | |
| public ObjectName[] | |
| public Valve[] | getValves()
Implements org. Return the set of Valves in the pipeline associated with this Container, including the basic Valve (if any). |
| protected void | initInternal()
Implements abstract org. Sub-classes implement this method to perform any instance initialisation required. |
| public boolean | isAsyncSupported()
Implements org. Returns true if all the valves in this pipeline support async, false otherwise |
| public void | removeValve(Valve
Valve to be removed valve)Implements org. Remove the specified Valve from the pipeline associated with this Container, if it is found; otherwise, do nothing. |
| public void | setBasic(Valve
Valve to be distinguished as the basic Valve valve)Implements org. Set the Valve instance that has been distinguished as the basic Valve for this Pipeline (if any). |
| public void | setContainer(Container
The new associated container container)Implements org. Set the Container with which this Pipeline is associated. |
| protected void | startInternal()
Implements abstract org. Start |
| protected void | stopInternal()
Implements abstract org. Stop |
| public String |
| basic | back to summary |
|---|---|
| protected Valve basic The basic Valve (if any) associated with this Pipeline. | |
| container | back to summary |
|---|---|
| protected Container container The Container with which this Pipeline is associated. | |
| first | back to summary |
|---|---|
| protected Valve first The first valve associated with this Pipeline. | |
| log | back to summary |
|---|---|
| private static final Log log | |
| sm | back to summary |
|---|---|
| private static final StringManager sm | |
| StandardPipeline | back to summary |
|---|---|
| public StandardPipeline() Construct a new StandardPipeline instance with no associated Container. | |
| StandardPipeline | back to summary |
|---|---|
| public StandardPipeline(Container container) Construct a new StandardPipeline instance that is associated with the specified Container.
| |
| addValve | back to summary |
|---|---|
| public void addValve(Valve valve) Implements org.
Add a new Valve to the end of the pipeline associated with this Container. Prior to adding the Valve, the Valve's
| |
| destroyInternal | back to summary |
|---|---|
| protected void destroyInternal() Implements abstract org. Doc from org. Sub-classes implement this method to perform any instance destruction required.
| |
| findNonAsyncValves | back to summary |
|---|---|
| public void findNonAsyncValves(Set<String> result) Implements org. Doc from org. Identifies the Valves, if any, in this Pipeline that do not support async. | |
| getBasic | back to summary |
|---|---|
| public Valve getBasic() Implements org. Return the Valve instance that has been distinguished as the basic Valve for this Pipeline (if any).
| |
| getContainer | back to summary |
|---|---|
| public Container getContainer() Implements org. Return the Container with which this Pipeline is associated.
| |
| getFirst | back to summary |
|---|---|
| public Valve getFirst() Implements org.
| |
| getValveObjectNames | back to summary |
|---|---|
| public ObjectName[] getValveObjectNames() | |
| getValves | back to summary |
|---|---|
| public Valve[] getValves() Implements org. Return the set of Valves in the pipeline associated with this Container, including the basic Valve (if any). If there are no such Valves, a zero-length array is returned.
| |
| initInternal | back to summary |
|---|---|
| protected void initInternal() Implements abstract org. Doc from org. Sub-classes implement this method to perform any instance initialisation required.
| |
| isAsyncSupported | back to summary |
|---|---|
| public boolean isAsyncSupported() Implements org. Doc from org. Returns true if all the valves in this pipeline support async, false otherwise
| |
| removeValve | back to summary |
|---|---|
| public void removeValve(Valve valve) Implements org. Remove the specified Valve from the pipeline associated with this Container, if it is found; otherwise, do
nothing. If the Valve is found and removed, the Valve's | |
| setBasic | back to summary |
|---|---|
| public void setBasic(Valve valve) Implements org.
Set the Valve instance that has been distinguished as the basic Valve for this Pipeline (if any). Prior to
setting the basic Valve, the Valve's | |
| setContainer | back to summary |
|---|---|
| public void setContainer(Container container) Implements org. Set the Container with which this Pipeline is associated. | |
| startInternal | back to summary |
|---|---|
| protected void startInternal() throws LifecycleException Implements abstract org. Start
| |
| stopInternal | back to summary |
|---|---|
| protected void stopInternal() throws LifecycleException Implements abstract org. Stop
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Return a String representation of this component.
| |