Apache CXF API

org.apache.cxf.transport
Class ConduitInitiatorManagerImpl

java.lang.Object
  extended by org.apache.cxf.transport.ConduitInitiatorManagerImpl
All Implemented Interfaces:
ConduitInitiatorManager

public final class ConduitInitiatorManagerImpl
extends Object
implements ConduitInitiatorManager


Constructor Summary
ConduitInitiatorManagerImpl()
           
ConduitInitiatorManagerImpl(Bus b)
           
ConduitInitiatorManagerImpl(Map<String,ConduitInitiator> conduitInitiators)
           
ConduitInitiatorManagerImpl(Map<String,ConduitInitiator> conduitInitiators, Bus b)
           
ConduitInitiatorManagerImpl(MapProvider<String,ConduitInitiator> conduitInitiators)
           
ConduitInitiatorManagerImpl(MapProvider<String,ConduitInitiator> conduitInitiators, Bus b)
           
 
Method Summary
 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 setMapProvider(MapProvider<String,ConduitInitiator> mapProvider)
          Spring is slow to resolve constructors.
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConduitInitiatorManagerImpl

public ConduitInitiatorManagerImpl()

ConduitInitiatorManagerImpl

public ConduitInitiatorManagerImpl(Bus b)

ConduitInitiatorManagerImpl

public ConduitInitiatorManagerImpl(MapProvider<String,ConduitInitiator> conduitInitiators)

ConduitInitiatorManagerImpl

public ConduitInitiatorManagerImpl(MapProvider<String,ConduitInitiator> conduitInitiators,
                                   Bus b)

ConduitInitiatorManagerImpl

public ConduitInitiatorManagerImpl(Map<String,ConduitInitiator> conduitInitiators)

ConduitInitiatorManagerImpl

public ConduitInitiatorManagerImpl(Map<String,ConduitInitiator> conduitInitiators,
                                   Bus b)
Method Detail

setMapProvider

public void setMapProvider(MapProvider<String,ConduitInitiator> mapProvider)
Spring is slow to resolve constructors. This accessor allows for initialization via a property.

Parameters:
mapProvider -

setBus

public void setBus(Bus b)

registerConduitInitiator

public void registerConduitInitiator(String namespace,
                                     ConduitInitiator factory)
Description copied from interface: ConduitInitiatorManager
Associates a name, often a URI, with a ConduitInitiator when registering with the Bus's TransportRegistry.

Specified by:
registerConduitInitiator in interface ConduitInitiatorManager
Parameters:
namespace - A string containing the name used to identify the ConduitInitiator
factory - The ConduitInitiator to be registered.

deregisterConduitInitiator

public void deregisterConduitInitiator(String namespace)
Description copied from interface: ConduitInitiatorManager
Unregister a ConduitInitiator.

Specified by:
deregisterConduitInitiator in interface ConduitInitiatorManager
Parameters:
namespace - A string containing the name of the ConduitInitiator.

getConduitInitiator

public ConduitInitiator getConduitInitiator(String namespace)
                                     throws BusException
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 interface ConduitInitiatorManager
Parameters:
namespace - the namespace.
Returns:
the registered ConduitInitiator
Throws:
BusException

shutdown

@PreDestroy
public void shutdown()

getConduitInitiatorForUri

public ConduitInitiator getConduitInitiatorForUri(String uri)
Specified by:
getConduitInitiatorForUri in interface ConduitInitiatorManager

Apache CXF API

Apache CXF