|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.ws.api.pipe.PipelineAssemblerFactory
TubelineAssemblerFactory
instead.
public abstract class PipelineAssemblerFactory
Creates PipelineAssembler
.
To create a pipeline,
the JAX-WS runtime locates PipelineAssemblerFactory
s through
the META-INF/services/com.sun.xml.ws.api.pipe.PipelineAssemblerFactory files.
Factories found are checked to see if it supports the given binding ID one by one,
and the first valid PipelineAssembler
returned will be used to create
a pipeline.
TODO: is bindingId really extensible? for this to be extensible, someone seems to need to hook into WSDL parsing.
TODO: JAX-WSA might not define its own binding ID -- it may just go to an extension element of WSDL. So this abstraction might need to be worked on.
Constructor Summary | |
---|---|
PipelineAssemblerFactory()
Deprecated. |
Method Summary | |
---|---|
static PipelineAssembler |
create(ClassLoader classLoader,
BindingID bindingId)
Deprecated. Locates PipelineAssemblerFactory s and create
a suitable PipelineAssembler . |
abstract PipelineAssembler |
doCreate(BindingID bindingId)
Deprecated. Creates a PipelineAssembler applicable for the given binding ID. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PipelineAssemblerFactory()
Method Detail |
---|
public abstract PipelineAssembler doCreate(BindingID bindingId)
PipelineAssembler
applicable for the given binding ID.
bindingId
- The binding ID for which a pipeline will be created,
such as SOAPBinding.SOAP11HTTP_BINDING
.
Must not be null.
public static PipelineAssembler create(ClassLoader classLoader, BindingID bindingId)
PipelineAssemblerFactory
s and create
a suitable PipelineAssembler
.
bindingId
- The binding ID string for which the new PipelineAssembler
is created. Must not be null.
PipelineAssembler
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |