Package com.sun.xml.ws.api.pipe.helper
Class AbstractPipeImpl
- java.lang.Object
-
- com.sun.xml.ws.api.pipe.helper.AbstractPipeImpl
-
- All Implemented Interfaces:
Pipe
- Direct Known Subclasses:
AbstractFilterPipeImpl
public abstract class AbstractPipeImpl extends Object implements Pipe
Partial default implementation ofPipe.To be shielded from potentail changes in JAX-WS, please consider extending from this class, instead of implementing
Pipedirectly.- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractPipeImpl()Do-nothing constructor.protectedAbstractPipeImpl(Pipe that, PipeCloner cloner)Basis for the copy constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpreDestroy()Invoked before the last copy of the pipeline is about to be discarded, to givePipes a chance to clean up any resources.
-
-
-
Constructor Detail
-
AbstractPipeImpl
protected AbstractPipeImpl()
Do-nothing constructor.
-
AbstractPipeImpl
protected AbstractPipeImpl(Pipe that, PipeCloner cloner)
Basis for the copy constructor.This registers the newly created
Pipewith thePipeClonerthroughPipeCloner.add(Pipe, Pipe).
-
-
Method Detail
-
preDestroy
public void preDestroy()
Description copied from interface:PipeInvoked before the last copy of the pipeline is about to be discarded, to givePipes a chance to clean up any resources.This can be used to invoke
PreDestroylifecycle 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.
- Specified by:
preDestroyin interfacePipe
-
-