public interface DestinationFactoryManager
Modifier and Type | Method and Description |
---|---|
void |
deregisterDestinationFactory(String name)
Unregister a
DestinationFactory . |
DestinationFactory |
getDestinationFactory(String name)
Returns the
DestinationFactory registered with the specified name,
loading the appropriate plugin if necessary. |
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 name,
DestinationFactory factory)
Associates a name, often a URI, with a
DestinationFactory
when registering with the Bus 's TransportRegistry . |
void registerDestinationFactory(String name, DestinationFactory factory)
DestinationFactory
when registering with the Bus
's TransportRegistry
.name
- A string containing the name used to identify the
DestinationFactory
factory
- The DestinationFactory
to be registered.void deregisterDestinationFactory(String name)
DestinationFactory
.name
- A string containing the name of the
DestinationFactory
.Set<String> getRegisteredDestinationFactoryNames()
DestinationFactory getDestinationFactory(String name) throws BusException
DestinationFactory
registered with the specified name,
loading the appropriate plugin if necessary.name
- DestinationFactory
BusException
DestinationFactory getDestinationFactoryForUri(String uri)
DestinationFactory
registered with the specified URI,
loading the appropriate plugin if necessary.uri
- the uri to look up DestinationFactory
DestinationFactory
BusException
Copyright © 2021 JBoss by Red Hat. All rights reserved.