Apache CXF API

org.apache.cxf.binding
Class BindingFactoryManagerImpl

java.lang.Object
  extended by org.apache.cxf.binding.BindingFactoryManagerImpl
All Implemented Interfaces:
BindingFactoryManager

public final class BindingFactoryManagerImpl
extends Object
implements BindingFactoryManager


Constructor Summary
BindingFactoryManagerImpl()
           
BindingFactoryManagerImpl(Bus b)
           
BindingFactoryManagerImpl(Map<String,BindingFactory> bindingFactories)
           
BindingFactoryManagerImpl(Map<String,BindingFactory> bindingFactories, Bus b)
           
BindingFactoryManagerImpl(MapProvider<String,BindingFactory> bindingFactories)
           
 
Method Summary
 BindingFactory getBindingFactory(String namespace)
          Retrieves the BindingFactory registered with the given name.
 void registerBindingFactory(String name, BindingFactory factory)
          Registers a BindingFactory using the provided name.
 void setBus(Bus b)
           
 void setMapProvider(MapProvider<String,BindingFactory> bindingFactoriesMapProvider)
          Spring configuration via constructor is slow.
 void unregisterBindingFactory(String name)
          Deregisters the BindingFactory with the provided name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BindingFactoryManagerImpl

public BindingFactoryManagerImpl()

BindingFactoryManagerImpl

public BindingFactoryManagerImpl(Bus b)

BindingFactoryManagerImpl

public BindingFactoryManagerImpl(Map<String,BindingFactory> bindingFactories)

BindingFactoryManagerImpl

public BindingFactoryManagerImpl(Map<String,BindingFactory> bindingFactories,
                                 Bus b)

BindingFactoryManagerImpl

public BindingFactoryManagerImpl(MapProvider<String,BindingFactory> bindingFactories)
Method Detail

setMapProvider

public void setMapProvider(MapProvider<String,BindingFactory> bindingFactoriesMapProvider)
Spring configuration via constructor is slow. This accessor allows initialization via a property.

Parameters:
bindingFactoriesMapProvider -

setBus

public void setBus(Bus b)

registerBindingFactory

public void registerBindingFactory(String name,
                                   BindingFactory factory)
Description copied from interface: BindingFactoryManager
Registers a BindingFactory using the provided name.

Specified by:
registerBindingFactory in interface BindingFactoryManager
Parameters:
name - The name of the BindingFactory.
factory - The instance of the class that implements the BindingFactory interface.

unregisterBindingFactory

public void unregisterBindingFactory(String name)
Description copied from interface: BindingFactoryManager
Deregisters the BindingFactory with the provided name.

Specified by:
unregisterBindingFactory in interface BindingFactoryManager
Parameters:
name - The name of the BindingFactory.

getBindingFactory

public BindingFactory getBindingFactory(String namespace)
                                 throws BusException
Description copied from interface: BindingFactoryManager
Retrieves the BindingFactory registered with the given name.

Specified by:
getBindingFactory in interface BindingFactoryManager
Parameters:
namespace - The name of the BindingFactory.
Returns:
BindingFactory The registered BindingFactory.
Throws:
BusException - If there is an error retrieving the BindingFactory.

Apache CXF API

Apache CXF