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

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

public abstract class TubelineAssemblerFactory
extends Object

Creates TubelineAssembler.

To create a tubeline, the JAX-WS runtime locates TubelineAssemblerFactorys through the META-INF/services/com.sun.xml.ws.api.pipe.TubelineAssemblerFactory files. Factories found are checked to see if it supports the given binding ID one by one, and the first valid TubelineAssembler returned will be used to create a tubeline.


Constructor Summary
TubelineAssemblerFactory()
           
 
Method Summary
static TubelineAssembler create(ClassLoader classLoader, BindingID bindingId)
          Deprecated. Use create(ClassLoader, BindingID, Container)
static TubelineAssembler create(ClassLoader classLoader, BindingID bindingId, Container container)
          Locates TubelineAssemblerFactorys and create a suitable TubelineAssembler.
abstract  TubelineAssembler doCreate(BindingID bindingId)
          Creates a TubelineAssembler 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

TubelineAssemblerFactory

public TubelineAssemblerFactory()
Method Detail

doCreate

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

Parameters:
bindingId - The binding ID for which a tubeline 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 TubelineAssembler create(ClassLoader classLoader,
                                       BindingID bindingId)
Deprecated. Use create(ClassLoader, BindingID, Container)


create

public static TubelineAssembler create(ClassLoader classLoader,
                                       BindingID bindingId,
                                       @Nullable
                                       Container container)
Locates TubelineAssemblerFactorys and create a suitable TubelineAssembler.

Parameters:
bindingId - The binding ID string for which the new TubelineAssembler is created. Must not be null.
container - if specified, the container is given a chance to specify a TubelineAssembler instance. This parameter should be always given on the server, but can be null.
Returns:
Always non-null, since we fall back to our default TubelineAssembler.