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) |
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)
DestinationFactoryManager
DestinationFactory
when registering with the Bus
's TransportRegistry
.registerDestinationFactory
in interface DestinationFactoryManager
namespace
- A string containing the name used to identify the
DestinationFactory
factory
- The DestinationFactory
to be registered.public void deregisterDestinationFactory(String namespace)
DestinationFactoryManager
DestinationFactory
.deregisterDestinationFactory
in interface DestinationFactoryManager
namespace
- A string containing the name of the
DestinationFactory
.public DestinationFactory getDestinationFactory(String namespace) throws BusException
getDestinationFactory
in interface DestinationFactoryManager
namespace
- the namespace.DestinationFactory
BusException
public DestinationFactory getDestinationFactoryForUri(String uri)
getDestinationFactoryForUri
in interface DestinationFactoryManager
Apache CXF