Package org.apache.cxf.bus.managers
Class DestinationFactoryManagerImpl
- java.lang.Object
- 
- org.apache.cxf.bus.managers.DestinationFactoryManagerImpl
 
- 
- All Implemented Interfaces:
- DestinationFactoryManager
 
 public final class DestinationFactoryManagerImpl extends Object implements DestinationFactoryManager 
- 
- 
Constructor SummaryConstructors Constructor Description DestinationFactoryManagerImpl()DestinationFactoryManagerImpl(Map<String,DestinationFactory> destinationFactories)DestinationFactoryManagerImpl(Map<String,DestinationFactory> destinationFactories, Bus b)DestinationFactoryManagerImpl(Bus b)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidderegisterDestinationFactory(String namespace)Unregister aDestinationFactory.DestinationFactorygetDestinationFactory(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.DestinationFactorygetDestinationFactoryForUri(String uri)Returns theDestinationFactoryregistered 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.voidregisterDestinationFactory(String namespace, DestinationFactory factory)Associates a name, often a URI, with aDestinationFactorywhen registering with theBus'sTransportRegistry.voidsetBus(Bus b)
 
- 
- 
- 
Constructor Detail- 
DestinationFactoryManagerImplpublic DestinationFactoryManagerImpl() 
 - 
DestinationFactoryManagerImplpublic DestinationFactoryManagerImpl(Bus b) 
 - 
DestinationFactoryManagerImplpublic DestinationFactoryManagerImpl(Map<String,DestinationFactory> destinationFactories) 
 - 
DestinationFactoryManagerImplpublic DestinationFactoryManagerImpl(Map<String,DestinationFactory> destinationFactories, Bus b) 
 
- 
 - 
Method Detail- 
setBuspublic void setBus(Bus b) 
 - 
registerDestinationFactorypublic void registerDestinationFactory(String namespace, DestinationFactory factory) Description copied from interface:DestinationFactoryManagerAssociates a name, often a URI, with aDestinationFactorywhen registering with theBus'sTransportRegistry.- Specified by:
- registerDestinationFactoryin interface- DestinationFactoryManager
- Parameters:
- namespace- A string containing the name used to identify the- DestinationFactory
- factory- The- DestinationFactoryto be registered.
 
 - 
deregisterDestinationFactorypublic void deregisterDestinationFactory(String namespace) Description copied from interface:DestinationFactoryManagerUnregister aDestinationFactory.- Specified by:
- deregisterDestinationFactoryin interface- DestinationFactoryManager
- Parameters:
- namespace- A string containing the name of the- DestinationFactory.
 
 - 
getDestinationFactorypublic DestinationFactory getDestinationFactory(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:
- getDestinationFactoryin interface- DestinationFactoryManager
- Parameters:
- namespace- the namespace.
- Returns:
- the registered DestinationFactory
- Throws:
- BusException
 
 - 
getDestinationFactoryForUripublic DestinationFactory getDestinationFactoryForUri(String uri) Description copied from interface:DestinationFactoryManagerReturns theDestinationFactoryregistered with the specified URI, loading the appropriate plugin if necessary.- Specified by:
- getDestinationFactoryForUriin interface- DestinationFactoryManager
- Parameters:
- uri- the uri to look up- DestinationFactory
- Returns:
- the registered DestinationFactory
 
 - 
getRegisteredDestinationFactoryNamespublic Set<String> getRegisteredDestinationFactoryNames() Description copied from interface:DestinationFactoryManagerReturns all registered (as of the moment of the call) destination factories.- Specified by:
- getRegisteredDestinationFactoryNamesin interface- DestinationFactoryManager
- Returns:
- all registered (as of the moment of the call) destination factories.
 
 
- 
 
-