Package org.apache.cxf.bus.managers
Class ConduitInitiatorManagerImpl
java.lang.Object
org.apache.cxf.bus.managers.ConduitInitiatorManagerImpl
- All Implemented Interfaces:
ConduitInitiatorManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deregisterConduitInitiator
(String namespace) Unregister aConduitInitiator
.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.void
registerConduitInitiator
(String namespace, ConduitInitiator factory) Associates a name, often a URI, with aConduitInitiator
when registering with theBus
'sTransportRegistry
.void
void
shutdown()
-
Constructor Details
-
ConduitInitiatorManagerImpl
public ConduitInitiatorManagerImpl() -
ConduitInitiatorManagerImpl
-
-
Method Details
-
setBus
-
registerConduitInitiator
Description copied from interface:ConduitInitiatorManager
Associates a name, often a URI, with aConduitInitiator
when registering with theBus
'sTransportRegistry
.- Specified by:
registerConduitInitiator
in interfaceConduitInitiatorManager
- Parameters:
namespace
- A string containing the name used to identify theConduitInitiator
factory
- TheConduitInitiator
to be registered.
-
deregisterConduitInitiator
Description copied from interface:ConduitInitiatorManager
Unregister aConduitInitiator
.- Specified by:
deregisterConduitInitiator
in interfaceConduitInitiatorManager
- Parameters:
namespace
- A string containing the name of theConduitInitiator
.
-
getConduitInitiator
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.- Specified by:
getConduitInitiator
in interfaceConduitInitiatorManager
- Parameters:
namespace
- the namespace.- Returns:
- the registered
ConduitInitiator
- Throws:
BusException
-
shutdown
@PreDestroy public void shutdown() -
getConduitInitiatorForUri
- Specified by:
getConduitInitiatorForUri
in interfaceConduitInitiatorManager
-