TubelineAssemblerFactory
instead.public abstract class PipelineAssemblerFactory extends Object
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 and Description |
---|
PipelineAssemblerFactory()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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. |
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
.Copyright © 2015 Oracle Corporation. All rights reserved.