Package org.apache.cxf.transport
Interface DestinationFactoryManager
- 
- All Known Implementing Classes:
- DestinationFactoryManagerImpl
 
 public interface DestinationFactoryManagerThe DestinationFactoryManager provides an interface to register and retrieve transport factories.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidderegisterDestinationFactory(String name)Unregister aDestinationFactory.DestinationFactorygetDestinationFactory(String name)Returns theDestinationFactoryregistered with the specified name, loading the appropriate plugin if necessary.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 name, DestinationFactory factory)Associates a name, often a URI, with aDestinationFactorywhen registering with theBus'sTransportRegistry.
 
- 
- 
- 
Method Detail- 
registerDestinationFactoryvoid registerDestinationFactory(String name, DestinationFactory factory) Associates a name, often a URI, with aDestinationFactorywhen registering with theBus'sTransportRegistry.- Parameters:
- name- A string containing the name used to identify the- DestinationFactory
- factory- The- DestinationFactoryto be registered.
 
 - 
deregisterDestinationFactoryvoid deregisterDestinationFactory(String name) Unregister aDestinationFactory.- Parameters:
- name- A string containing the name of the- DestinationFactory.
 
 - 
getRegisteredDestinationFactoryNamesSet<String> getRegisteredDestinationFactoryNames() Returns all registered (as of the moment of the call) destination factories.- Returns:
- all registered (as of the moment of the call) destination factories.
 
 - 
getDestinationFactoryDestinationFactory getDestinationFactory(String name) throws BusException Returns theDestinationFactoryregistered with the specified name, loading the appropriate plugin if necessary.- Parameters:
- name-
- Returns:
- the registered DestinationFactory
- Throws:
- BusException
 
 - 
getDestinationFactoryForUriDestinationFactory getDestinationFactoryForUri(String uri) Returns theDestinationFactoryregistered with the specified URI, loading the appropriate plugin if necessary.- Parameters:
- uri- the uri to look up- DestinationFactory
- Returns:
- the registered DestinationFactory
- Throws:
- BusException
 
 
- 
 
-