Package com.sun.xml.ws.api.pipe
Class PipelineAssemblerFactory
java.lang.Object
com.sun.xml.ws.api.pipe.PipelineAssemblerFactory
Deprecated.
Creates
PipelineAssembler.
To create a pipeline,
the JAX-WS runtime locates PipelineAssemblerFactorys 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.
- Author:
- Kohsuke Kawaguchi
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDeprecated.Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic PipelineAssemblercreate(ClassLoader classLoader, BindingID bindingId) Deprecated.LocatesPipelineAssemblerFactorys and create a suitablePipelineAssembler.abstract PipelineAssemblerDeprecated.Creates aPipelineAssemblerapplicable for the given binding ID.
-
Constructor Details
-
PipelineAssemblerFactory
protected PipelineAssemblerFactory()Deprecated.Default constructor.
-
-
Method Details
-
doCreate
Deprecated.Creates aPipelineAssemblerapplicable 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
Deprecated.LocatesPipelineAssemblerFactorys and create a suitablePipelineAssembler.- Parameters:
bindingId- The binding ID string for which the newPipelineAssembleris created. Must not be null.- Returns:
- Always non-null, since we fall back to our default
PipelineAssembler.
-
TubelineAssemblerFactoryinstead.