Package com.sun.xml.ws.api.pipe
Class PipelineAssemblerFactory
- java.lang.Object
-
- com.sun.xml.ws.api.pipe.PipelineAssemblerFactory
-
public abstract class PipelineAssemblerFactory extends Object
Deprecated.UseTubelineAssemblerFactory
instead.CreatesPipelineAssembler
.To create a pipeline, the JAX-WS runtime locates
PipelineAssemblerFactory
s through theMETA-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 validPipelineAssembler
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.
- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description PipelineAssemblerFactory()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static PipelineAssembler
create(ClassLoader classLoader, BindingID bindingId)
Deprecated.LocatesPipelineAssemblerFactory
s and create a suitablePipelineAssembler
.abstract PipelineAssembler
doCreate(BindingID bindingId)
Deprecated.Creates aPipelineAssembler
applicable for the given binding ID.
-
-
-
Method Detail
-
doCreate
public abstract PipelineAssembler doCreate(BindingID bindingId)
Deprecated.Creates aPipelineAssembler
applicable for the given binding ID.- Parameters:
bindingId
- The binding ID for which a pipeline will be created, such asSOAPBinding.SOAP11HTTP_BINDING
. Must not be null.- Returns:
- null if this factory doesn't recognize the given binding ID.
-
create
public static PipelineAssembler create(ClassLoader classLoader, BindingID bindingId)
Deprecated.LocatesPipelineAssemblerFactory
s and create a suitablePipelineAssembler
.- Parameters:
bindingId
- The binding ID string for which the newPipelineAssembler
is created. Must not be null.- Returns:
- Always non-null, since we fall back to our default
PipelineAssembler
.
-
-