Package org.apache.cxf.bus.managers
Class BindingFactoryManagerImpl
java.lang.Object
org.apache.cxf.bus.managers.BindingFactoryManagerImpl
- All Implemented Interfaces:
BindingFactoryManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBindingFactory
(String namespace) Retrieves the BindingFactory registered with the given name.void
registerBindingFactory
(String name, BindingFactory factory) Registers a BindingFactory using the provided name.void
void
Deregisters the BindingFactory with the provided name.
-
Constructor Details
-
BindingFactoryManagerImpl
public BindingFactoryManagerImpl() -
BindingFactoryManagerImpl
-
-
Method Details
-
setBus
-
registerBindingFactory
Description copied from interface:BindingFactoryManager
Registers a BindingFactory using the provided name.- Specified by:
registerBindingFactory
in interfaceBindingFactoryManager
- Parameters:
name
- The name of the BindingFactory.factory
- The instance of the class that implements the BindingFactory interface.
-
unregisterBindingFactory
Description copied from interface:BindingFactoryManager
Deregisters the BindingFactory with the provided name.- Specified by:
unregisterBindingFactory
in interfaceBindingFactoryManager
- Parameters:
name
- The name of the BindingFactory.
-
getBindingFactory
Description copied from interface:BindingFactoryManager
Retrieves the BindingFactory registered with the given name.- Specified by:
getBindingFactory
in interfaceBindingFactoryManager
- Parameters:
namespace
- The name of the BindingFactory.- Returns:
- BindingFactory The registered BindingFactory.
- Throws:
BusException
- If there is an error retrieving the BindingFactory.
-