Celtix User APIs

org.objectweb.celtix.transports
Interface TransportFactoryManager


public interface TransportFactoryManager


Method Summary
 void deregisterTransportFactory(String name)
          Unregister a TransportFactory.
 TransportFactory getTransportFactory(String name)
          Returns the TransportFactory registered with the specified name, loading the appropriate plugin if necessary.
 void registerTransportFactory(String name, TransportFactory factory)
          Associates a name, often a URI, with a TransportFactory when registering with the Bus's TransportRegistry.
 

Method Detail

registerTransportFactory

void registerTransportFactory(String name,
                              TransportFactory factory)
                              throws BusException
Associates a name, often a URI, with a TransportFactory when registering with the Bus's TransportRegistry.

Parameters:
name - A string containing the name used to identify the TransportFactory
factory - The TransportFactory to be registered.
Throws:
BusException - If there is an error registering transport factory.

deregisterTransportFactory

void deregisterTransportFactory(String name)
                                throws BusException
Unregister a TransportFactory.

Parameters:
name - A string containing the name of the TransportFactory.
Throws:
BusException - If there is an error deregistering the transport factory.

getTransportFactory

TransportFactory getTransportFactory(String name)
                                     throws BusException
Returns the TransportFactory registered with the specified name, loading the appropriate plugin if necessary.

Parameters:
name -
Returns:
the registered TransportFactory
Throws:
BusException

Celtix User APIs