public final class ConduitInitiatorManagerImpl extends Object implements ConduitInitiatorManager
Constructor and Description |
---|
ConduitInitiatorManagerImpl() |
ConduitInitiatorManagerImpl(Bus b) |
Modifier and Type | Method and Description |
---|---|
void |
deregisterConduitInitiator(String namespace)
Unregister a
ConduitInitiator . |
ConduitInitiator |
getConduitInitiator(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.
|
ConduitInitiator |
getConduitInitiatorForUri(String uri) |
void |
registerConduitInitiator(String namespace,
ConduitInitiator factory)
Associates a name, often a URI, with a
ConduitInitiator
when registering with the Bus 's TransportRegistry . |
void |
setBus(Bus b) |
void |
shutdown() |
public ConduitInitiatorManagerImpl()
public ConduitInitiatorManagerImpl(Bus b)
public void setBus(Bus b)
public void registerConduitInitiator(String namespace, ConduitInitiator factory)
ConduitInitiatorManager
ConduitInitiator
when registering with the Bus
's TransportRegistry
.registerConduitInitiator
in interface ConduitInitiatorManager
namespace
- A string containing the name used to identify the
ConduitInitiator
factory
- The ConduitInitiator
to be registered.public void deregisterConduitInitiator(String namespace)
ConduitInitiatorManager
ConduitInitiator
.deregisterConduitInitiator
in interface ConduitInitiatorManager
namespace
- A string containing the name of the
ConduitInitiator
.public ConduitInitiator getConduitInitiator(String namespace) throws BusException
getConduitInitiator
in interface ConduitInitiatorManager
namespace
- the namespace.ConduitInitiator
BusException
@PreDestroy public void shutdown()
public ConduitInitiator getConduitInitiatorForUri(String uri)
getConduitInitiatorForUri
in interface ConduitInitiatorManager
Copyright © 2017 JBoss by Red Hat. All rights reserved.