Celtix User APIs

org.objectweb.celtix.bindings
Interface BindingManager


public interface BindingManager

The manager interface represents a repository for accessing BindingFactorys. Provides methods necessary for registering, deregistering or retrieving of BindingFactorys.


Method Summary
 void deregisterBinding(String name)
          Deregisters the BindingFactory with the provided name.
 BindingFactory getBindingFactory(String name)
          Retrieves the BindingFactory registered with the given name.
 void registerBinding(String name, BindingFactory binding)
          Registers a BindingFactory using the provided name.
 

Method Detail

registerBinding

void registerBinding(String name,
                     BindingFactory binding)
                     throws BusException
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.
Throws:
BusException - If there is an error registering the BindingFactory.

deregisterBinding

void deregisterBinding(String name)
                       throws BusException
Deregisters the BindingFactory with the provided name.

Parameters:
name - The name of the BindingFactory.
Throws:
BusException - If there is an error deregistering the name.

getBindingFactory

BindingFactory getBindingFactory(String name)
                                 throws BusException
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.

Celtix User APIs