|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.transport.DestinationFactoryManagerImpl
public final class DestinationFactoryManagerImpl
| Constructor Summary | |
|---|---|
DestinationFactoryManagerImpl()
|
|
DestinationFactoryManagerImpl(Map<String,DestinationFactory> destinationFactories)
|
|
DestinationFactoryManagerImpl(MapProvider<String,DestinationFactory> destinationFactories)
|
|
| Method Summary | |
|---|---|
void |
deregisterDestinationFactory(String namespace)
Unregister a DestinationFactory. |
DestinationFactory |
getDestinationFactory(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. |
DestinationFactory |
getDestinationFactoryForUri(String uri)
|
void |
register()
|
void |
registerDestinationFactory(String namespace,
DestinationFactory factory)
Associates a name, often a URI, with a DestinationFactory
when registering with the Bus's TransportRegistry. |
void |
setBus(Bus b)
|
void |
setMapProvider(MapProvider<String,DestinationFactory> mapProvider)
Spring is slow for constructors with arguments. |
void |
shutdown()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DestinationFactoryManagerImpl()
public DestinationFactoryManagerImpl(Map<String,DestinationFactory> destinationFactories)
public DestinationFactoryManagerImpl(MapProvider<String,DestinationFactory> destinationFactories)
| Method Detail |
|---|
public void setMapProvider(MapProvider<String,DestinationFactory> mapProvider)
mapProvider - public void setBus(Bus b)
@PostConstruct public void register()
public void registerDestinationFactory(String namespace,
DestinationFactory factory)
DestinationFactoryManagerDestinationFactory
when registering with the Bus's TransportRegistry.
registerDestinationFactory in interface DestinationFactoryManagernamespace - A string containing the name used to identify the
DestinationFactoryfactory - The DestinationFactory to be registered.public void deregisterDestinationFactory(String namespace)
DestinationFactoryManagerDestinationFactory.
deregisterDestinationFactory in interface DestinationFactoryManagernamespace - A string containing the name of the
DestinationFactory.
public DestinationFactory getDestinationFactory(String namespace)
throws BusException
getDestinationFactory in interface DestinationFactoryManagernamespace - the namespace.
DestinationFactory
BusException@PreDestroy public void shutdown()
public DestinationFactory getDestinationFactoryForUri(String uri)
getDestinationFactoryForUri in interface DestinationFactoryManager
|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||