public final class BindingFactoryManagerImpl extends Object implements BindingFactoryManager
Constructor and Description |
---|
BindingFactoryManagerImpl() |
BindingFactoryManagerImpl(Bus b) |
Modifier and Type | Method and Description |
---|---|
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 |
unregisterBindingFactory(String name)
Deregisters the BindingFactory with the provided name.
|
public BindingFactoryManagerImpl()
public BindingFactoryManagerImpl(Bus b)
public void setBus(Bus b)
public void registerBindingFactory(String name, BindingFactory factory)
BindingFactoryManager
registerBindingFactory
in interface BindingFactoryManager
name
- The name of the BindingFactory.factory
- The instance of the class that implements the
BindingFactory interface.public void unregisterBindingFactory(String name)
BindingFactoryManager
unregisterBindingFactory
in interface BindingFactoryManager
name
- The name of the BindingFactory.public BindingFactory getBindingFactory(String namespace) throws BusException
BindingFactoryManager
getBindingFactory
in interface BindingFactoryManager
namespace
- The name of the BindingFactory.BusException
- If there is an error retrieving the BindingFactory.Apache CXF