Home » apache-tomcat-6.0.26-src » org.apache » catalina » mbeans » [javadoc | source]
public class: GlobalResourcesLifecycleListener [javadoc | source]

All Implemented Interfaces:

Implementation of LifecycleListener that instantiates the set of MBeans associated with global JNDI resources that are subject to management.
Field Summary
protected  Lifecycle component    The owning Catalina component that we are attached to. 
protected static  Registry registry    The configuration information registry for our managed beans. 
Method from org.apache.catalina.mbeans.GlobalResourcesLifecycleListener Summary:
createMBeans,   createMBeans,   createMBeans,   destroyMBeans,   lifecycleEvent
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.catalina.mbeans.GlobalResourcesLifecycleListener Detail:
 protected  void createMBeans() 
    Create the MBeans for the interesting global JNDI resources.
 protected  void createMBeans(String prefix,
    Context context) throws NamingException 
    Create the MBeans for the interesting global JNDI resources in the specified naming context.
 protected  void createMBeans(String name,
    UserDatabase database) throws Exception 
    Create the MBeans for the specified UserDatabase and its contents.
 protected  void destroyMBeans() 
    Destroy the MBeans for the interesting global JNDI resources.
 public  void lifecycleEvent(LifecycleEvent event) 
    Primary entry point for startup and shutdown events.