public abstract class AbstractPipeImpl extends Object implements Pipe
Pipe
.
To be shielded from potentail changes in JAX-WS,
please consider extending from this class, instead
of implementing Pipe
directly.
Modifier | Constructor and Description |
---|---|
protected |
AbstractPipeImpl()
Do-nothing constructor.
|
protected |
AbstractPipeImpl(Pipe that,
PipeCloner cloner)
Basis for the copy constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
preDestroy()
Invoked before the last copy of the pipeline is about to be discarded,
to give
Pipe s a chance to clean up any resources. |
protected AbstractPipeImpl()
protected AbstractPipeImpl(Pipe that, PipeCloner cloner)
This registers the newly created Pipe
with the PipeCloner
through PipeCloner.add(Pipe, Pipe)
.
public void preDestroy()
Pipe
Pipe
s a chance to clean up any resources.
This can be used to invoke PreDestroy
lifecycle methods
on user handler. The invocation of it is optional on the client side,
but mandatory on the server side.
When multiple copies of pipelines are created, this method is called only on one of them.
preDestroy
in interface Pipe
Copyright © 2015 Oracle Corporation. All rights reserved.