Home » geronimo-2.2-source-release » org.apache.geronimo.gjndi » [javadoc | source]
public class: KernelContextGBean [javadoc | source]

All Implemented Interfaces:

Direct Known Subclasses:
    ResourceBinding, GlobalContextGBean, GBeanFormatBinding

Field Summary
public static final  GBeanInfo GBEAN_INFO     
 public KernelContextGBean(String nameInNamespace,
    AbstractNameQuery abstractNameQuery,
    Kernel kernel) throws NamingException 
Method from org.apache.geronimo.gjndi.KernelContextGBean Summary:
addBinding,   createBindingName,   createBindings,   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.KernelContextGBean Detail:
 protected synchronized  void addBinding(AbstractName abstractName) throws NamingException 
    Binds the specified gbean. This method uses createBindingName and preprocessValue before binding the object.
 protected Name createBindingName(AbstractName abstractName,
    Object value) throws NamingException 
    Create a name under which we will bind the specified gbean with the specified value. By default, this method simply returns the "name" element of the abstract name
 protected Map<Name, Object> createBindings(AbstractName abstractName,
    Object value) throws NamingException 
 public  void doFail() 
 public synchronized  void doStart() 
 public  void doStop() 
 public static GBeanInfo getGBeanInfo() 
 protected Object preprocessVaue(AbstractName abstractName,
    Name name,
    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.