Package org.apache.cxf.transport
Interface ConduitInitiatorManager
- All Known Implementing Classes:
ConduitInitiatorManagerImpl
public interface ConduitInitiatorManager
The ConduitInitiatorManager provides an interface to register and retrieve
transport factories.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Unregister aConduitInitiator
.getConduitInitiator
(String name) Returns theConduitInitiator
registered with the specified name, loading the appropriate plugin if necessary.void
registerConduitInitiator
(String name, ConduitInitiator factory) Associates a name, often a URI, with aConduitInitiator
when registering with theBus
'sTransportRegistry
.
-
Method Details
-
registerConduitInitiator
Associates a name, often a URI, with aConduitInitiator
when registering with theBus
'sTransportRegistry
.- Parameters:
name
- A string containing the name used to identify theConduitInitiator
factory
- TheConduitInitiator
to be registered.
-
deregisterConduitInitiator
Unregister aConduitInitiator
.- Parameters:
name
- A string containing the name of theConduitInitiator
.
-
getConduitInitiator
Returns theConduitInitiator
registered with the specified name, loading the appropriate plugin if necessary.- Parameters:
name
-- Returns:
- the registered
ConduitInitiator
- Throws:
BusException
-
getConduitInitiatorForUri
-