Package org.apache.cxf.binding
Interface BindingFactoryManager
- All Known Implementing Classes:
BindingFactoryManagerImpl
public interface BindingFactoryManager
The manager interface represents a repository for accessing
BindingFactorys.
Provides methods necessary for registering, unregistering or retrieving of
BindingFactorys.-
Method Summary
Modifier and TypeMethodDescriptiongetBindingFactory(String name) Retrieves the BindingFactory registered with the given name.voidregisterBindingFactory(String name, BindingFactory binding) Registers a BindingFactory using the provided name.voidDeregisters the BindingFactory with the provided name.
-
Method Details
-
registerBindingFactory
Registers a BindingFactory using the provided name.- Parameters:
name- The name of the BindingFactory.binding- The instance of the class that implements the BindingFactory interface.
-
unregisterBindingFactory
Deregisters the BindingFactory with the provided name.- Parameters:
name- The name of the BindingFactory.
-
getBindingFactory
Retrieves the BindingFactory registered with the given name.- Parameters:
name- The name of the BindingFactory.- Returns:
- BindingFactory The registered BindingFactory.
- Throws:
BusException- If there is an error retrieving the BindingFactory.
-