public interface DestinationFactoryManager
| Modifier and Type | Method and Description |
|---|---|
void |
deregisterDestinationFactory(java.lang.String name)
Unregister a
DestinationFactory. |
DestinationFactory |
getDestinationFactory(java.lang.String name)
Returns the
DestinationFactory registered with the specified name,
loading the appropriate plugin if necessary. |
DestinationFactory |
getDestinationFactoryForUri(java.lang.String uri)
Returns the
DestinationFactory registered with the specified URI,
loading the appropriate plugin if necessary. |
java.util.Set<java.lang.String> |
getRegisteredDestinationFactoryNames()
Returns all registered (as of the moment of the call) destination factories.
|
void |
registerDestinationFactory(java.lang.String name,
DestinationFactory factory)
Associates a name, often a URI, with a
DestinationFactory
when registering with the Bus's TransportRegistry. |
void registerDestinationFactory(java.lang.String name,
DestinationFactory factory)
DestinationFactory
when registering with the Bus's TransportRegistry.name - A string containing the name used to identify the
DestinationFactoryfactory - The DestinationFactory to be registered.void deregisterDestinationFactory(java.lang.String name)
DestinationFactory.name - A string containing the name of the
DestinationFactory.java.util.Set<java.lang.String> getRegisteredDestinationFactoryNames()
DestinationFactory getDestinationFactory(java.lang.String name) throws BusException
DestinationFactory registered with the specified name,
loading the appropriate plugin if necessary.name - DestinationFactoryBusExceptionDestinationFactory getDestinationFactoryForUri(java.lang.String uri)
DestinationFactory registered with the specified URI,
loading the appropriate plugin if necessary.uri - the uri to look up DestinationFactoryDestinationFactoryBusException