| java.lang.Object org.apache.geronimo.gjndi.binding.GBeanBinding
GBeanBinding | public class GBeanBinding implements GBeanLifecycle(Code) | | version: $Rev$ $Date$ |
Field Summary | |
final public static GBeanInfo | GBEAN_INFO |
Method Summary | |
protected synchronized void | addBinding(AbstractName abstractName) Binds the specified gbean. | public void | doFail() | public synchronized void | doStart() | public void | doStop() | public static GBeanInfo | getGBeanInfo() | protected Object | preprocessVaue(AbstractName abstractName, Object value) Preprocess the value before it is bound. | protected synchronized void | removeBinding(AbstractName abstractName) Unbinds the specified gbean. |
GBEAN_INFO | final public static GBeanInfo GBEAN_INFO(Code) | | |
GBeanBinding | public GBeanBinding(Context context, String name, AbstractNameQuery abstractNameQuery, Kernel kernel)(Code) | | |
addBinding | protected synchronized void addBinding(AbstractName abstractName) throws NamingException(Code) | | Binds the specified gbean. This method uses createBindingName and preprocessValue before binding the object.
Parameters: abstractName - the abstract name of the gbean to bind throws: NamingException - if an error occurs during binding |
doFail | public void doFail()(Code) | | |
doStart | public synchronized void doStart()(Code) | | |
doStop | public void doStop()(Code) | | |
getGBeanInfo | public static GBeanInfo getGBeanInfo()(Code) | | |
preprocessVaue | protected Object preprocessVaue(AbstractName abstractName, Object value) throws NamingException(Code) | | Preprocess the value before it is bound. This is usefult for wrapping values with reference objects.
By default, this method simply return the value.
Parameters: abstractName - the abstract name of the gbean to bind Parameters: value - the gbean instance the value to bind |
removeBinding | protected synchronized void removeBinding(AbstractName abstractName)(Code) | | Unbinds the specified gbean.
Parameters: abstractName - the abstract name of the gbean to unbind |
|
|