Celtix User APIs

org.objectweb.celtix.transports
Interface TransportFactory


public interface TransportFactory

The TransportFactory provides methods to create client and server transports.


Method Summary
 ClientTransport createClientTransport(org.objectweb.celtix.ws.addressing.EndpointReferenceType address)
          Returns a newly created ClientTransport.
 ServerTransport createServerTransport(org.objectweb.celtix.ws.addressing.EndpointReferenceType address)
          Returns a newly created ServerTransport.
 ServerTransport createTransientServerTransport(org.objectweb.celtix.ws.addressing.EndpointReferenceType address)
          Returns a newly created transient ServerTransport.
 void init(Bus bus)
          Initializes this TransportFactory.
 

Method Detail

init

void init(Bus bus)
Initializes this TransportFactory.

Parameters:
bus - The bus class this TransportFactory will use.

createServerTransport

ServerTransport createServerTransport(org.objectweb.celtix.ws.addressing.EndpointReferenceType address)
                                      throws javax.wsdl.WSDLException,
                                             IOException
Returns a newly created ServerTransport.

Parameters:
address - the endpoint reference used by the ServerTransport.
Returns:
ServerTransport the newly created ServerTransport.
Throws:
javax.wsdl.WSDLException - If there is an error creating the transport.
IOException

createTransientServerTransport

ServerTransport createTransientServerTransport(org.objectweb.celtix.ws.addressing.EndpointReferenceType address)
                                               throws javax.wsdl.WSDLException,
                                                      IOException
Returns a newly created transient ServerTransport.

Parameters:
address - the endpoint reference used by the ServerTransport.
Returns:
ServerTransport the newly created server transport.
Throws:
javax.wsdl.WSDLException - If there is an error creating the transport.
IOException

createClientTransport

ClientTransport createClientTransport(org.objectweb.celtix.ws.addressing.EndpointReferenceType address)
                                      throws javax.wsdl.WSDLException,
                                             IOException
Returns a newly created ClientTransport.

Parameters:
address - the endpoint reference used by the ClientTransport.
Returns:
ClientTransport the newly created client transport.
Throws:
javax.wsdl.WSDLException - If there is an error creating the transport.
IOException

Celtix User APIs