public final class DestinationFactoryManagerImpl extends Object implements DestinationFactoryManager
| Constructor and Description |
|---|
DestinationFactoryManagerImpl() |
DestinationFactoryManagerImpl(Bus b) |
DestinationFactoryManagerImpl(Map<String,DestinationFactory> destinationFactories) |
DestinationFactoryManagerImpl(Map<String,DestinationFactory> destinationFactories,
Bus b) |
| Modifier and Type | Method and Description |
|---|---|
void |
deregisterDestinationFactory(String namespace)
Unregister a
DestinationFactory. |
DestinationFactory |
getDestinationFactory(String namespace)
Returns the conduit initiator for the given namespace, constructing it
(and storing in the cache for future reference) if necessary, using its
list of factory classname to namespace mappings.
|
DestinationFactory |
getDestinationFactoryForUri(String uri)
Returns the
DestinationFactory registered with the specified URI,
loading the appropriate plugin if necessary. |
Set<String> |
getRegisteredDestinationFactoryNames()
Returns all registered (as of the moment of the call) destination factories.
|
void |
registerDestinationFactory(String namespace,
DestinationFactory factory)
Associates a name, often a URI, with a
DestinationFactory
when registering with the Bus's TransportRegistry. |
void |
setBus(Bus b) |
public DestinationFactoryManagerImpl()
public DestinationFactoryManagerImpl(Bus b)
public DestinationFactoryManagerImpl(Map<String,DestinationFactory> destinationFactories)
public DestinationFactoryManagerImpl(Map<String,DestinationFactory> destinationFactories, Bus b)
public void setBus(Bus b)
public void registerDestinationFactory(String namespace, DestinationFactory factory)
DestinationFactoryManagerDestinationFactory
when registering with the Bus's TransportRegistry.registerDestinationFactory in interface DestinationFactoryManagernamespace - A string containing the name used to identify the
DestinationFactoryfactory - The DestinationFactory to be registered.public void deregisterDestinationFactory(String namespace)
DestinationFactoryManagerDestinationFactory.deregisterDestinationFactory in interface DestinationFactoryManagernamespace - A string containing the name of the
DestinationFactory.public DestinationFactory getDestinationFactory(String namespace) throws BusException
getDestinationFactory in interface DestinationFactoryManagernamespace - the namespace.DestinationFactoryBusExceptionpublic DestinationFactory getDestinationFactoryForUri(String uri)
DestinationFactoryManagerDestinationFactory registered with the specified URI,
loading the appropriate plugin if necessary.getDestinationFactoryForUri in interface DestinationFactoryManageruri - the uri to look up DestinationFactoryDestinationFactorypublic Set<String> getRegisteredDestinationFactoryNames()
DestinationFactoryManagergetRegisteredDestinationFactoryNames in interface DestinationFactoryManagerApache CXF