com.sun.xml.ws.api.pipe
Class PipelineAssemblerFactory

java.lang.Object
  extended by com.sun.xml.ws.api.pipe.PipelineAssemblerFactory

Deprecated. Use TubelineAssemblerFactory instead.

public abstract class PipelineAssemblerFactory
extends Object

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.


Constructor Summary
PipelineAssemblerFactory()
          Deprecated.  
 
Method Summary
static PipelineAssembler create(ClassLoader classLoader, BindingID bindingId)
          Deprecated. Locates PipelineAssemblerFactorys 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

PipelineAssemblerFactory

public PipelineAssemblerFactory()
Deprecated. 
Method Detail

doCreate

public abstract PipelineAssembler doCreate(BindingID bindingId)
Deprecated. 
Creates a PipelineAssembler applicable for the given binding ID.

Parameters:
bindingId - The binding ID for which a pipeline will be created, such as SOAPBinding.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. 
Locates PipelineAssemblerFactorys and create a suitable PipelineAssembler.

Parameters:
bindingId - The binding ID string for which the new PipelineAssembler is created. Must not be null.
Returns:
Always non-null, since we fall back to our default PipelineAssembler.