Home » geronimo-2.2-source-release » org.apache.geronimo.gjndi.binding » [javadoc | source]
org.apache.geronimo.gjndi.binding
public class: GBeanBinding [javadoc | source]
java.lang.Object
   org.apache.geronimo.gjndi.binding.GBeanBinding

All Implemented Interfaces:
    GBeanLifecycle

Field Summary
public static final  GBeanInfo GBEAN_INFO     
Constructor:
 public GBeanBinding(Context context,
    String name,
    AbstractNameQuery abstractNameQuery,
    Kernel kernel) 
Method from org.apache.geronimo.gjndi.binding.GBeanBinding Summary:
addBinding,   doFail,   doStart,   doStop,   getGBeanInfo,   preprocessVaue,   removeBinding
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.gjndi.binding.GBeanBinding Detail:
 protected synchronized  void addBinding(AbstractName abstractName) throws NamingException 
    Binds the specified gbean. This method uses createBindingName and preprocessValue before binding the object.
 public  void doFail() 
 public synchronized  void doStart() 
 public  void doStop() 
 public static GBeanInfo getGBeanInfo() 
 protected Object preprocessVaue(AbstractName abstractName,
    Object value) throws NamingException 
    Preprocess the value before it is bound. This is usefult for wrapping values with reference objects. By default, this method simply return the value.
 protected synchronized  void removeBinding(AbstractName abstractName) 
    Unbinds the specified gbean.