Package org.apache.cxf.bus.managers
Class BindingFactoryManagerImpl
- java.lang.Object
-
- org.apache.cxf.bus.managers.BindingFactoryManagerImpl
-
- All Implemented Interfaces:
BindingFactoryManager
public final class BindingFactoryManagerImpl extends Object implements BindingFactoryManager
-
-
Constructor Summary
Constructors Constructor Description BindingFactoryManagerImpl()BindingFactoryManagerImpl(Bus b)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BindingFactorygetBindingFactory(String namespace)Retrieves the BindingFactory registered with the given name.voidregisterBindingFactory(String name, BindingFactory factory)Registers a BindingFactory using the provided name.voidsetBus(Bus b)voidunregisterBindingFactory(String name)Deregisters the BindingFactory with the provided name.
-
-
-
Constructor Detail
-
BindingFactoryManagerImpl
public BindingFactoryManagerImpl()
-
BindingFactoryManagerImpl
public BindingFactoryManagerImpl(Bus b)
-
-
Method Detail
-
setBus
public void setBus(Bus b)
-
registerBindingFactory
public void registerBindingFactory(String name, BindingFactory factory)
Description copied from interface:BindingFactoryManagerRegisters a BindingFactory using the provided name.- Specified by:
registerBindingFactoryin interfaceBindingFactoryManager- 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:BindingFactoryManagerDeregisters the BindingFactory with the provided name.- Specified by:
unregisterBindingFactoryin interfaceBindingFactoryManager- Parameters:
name- The name of the BindingFactory.
-
getBindingFactory
public BindingFactory getBindingFactory(String namespace) throws BusException
Description copied from interface:BindingFactoryManagerRetrieves the BindingFactory registered with the given name.- Specified by:
getBindingFactoryin interfaceBindingFactoryManager- Parameters:
namespace- The name of the BindingFactory.- Returns:
- BindingFactory The registered BindingFactory.
- Throws:
BusException- If there is an error retrieving the BindingFactory.
-
-