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)
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)
DestinationFactoryManager
DestinationFactory
registered with the specified URI,
loading the appropriate plugin if necessary.getDestinationFactoryForUri
in interface DestinationFactoryManager
uri
- the uri to look up DestinationFactory
DestinationFactory
public Set<String> getRegisteredDestinationFactoryNames()
DestinationFactoryManager
getRegisteredDestinationFactoryNames
in interface DestinationFactoryManager
Apache CXF