Celtix User APIs

org.objectweb.celtix.bindings
Interface BindingFactory


public interface BindingFactory

A factory interface for creating client and server bindings.


Method Summary
 ClientBinding createClientBinding(org.objectweb.celtix.addressing.EndpointReferenceType reference)
          Creates a ClientBinding using the EndpointReferenceType.
 ServerBinding createServerBinding(org.objectweb.celtix.addressing.EndpointReferenceType reference, javax.xml.ws.Endpoint endpoint)
          Creates a ServerBinding for the EndpointReferenceType and Endpoint provided.
 void init(Bus bus)
          Initialize the factory with a Bus reference.
 

Method Detail

init

void init(Bus bus)
Initialize the factory with a Bus reference.

Parameters:
bus - The Bus for this BindingFactory.

createClientBinding

ClientBinding createClientBinding(org.objectweb.celtix.addressing.EndpointReferenceType reference)
Creates a ClientBinding using the EndpointReferenceType.

Parameters:
reference - The EndpointReferenceType the binding will use.
Returns:
ClientBinding The newly created ClientBinding.

createServerBinding

ServerBinding createServerBinding(org.objectweb.celtix.addressing.EndpointReferenceType reference,
                                  javax.xml.ws.Endpoint endpoint)
Creates a ServerBinding for the EndpointReferenceType and Endpoint provided.

Parameters:
reference - The EndpointReferenceType the binding will use.
endpoint - The server endpoint.
Returns:
ServerBinding The newly created ServerBinding.

Celtix User APIs