Home » apache-tomcat-6.0.26-src » org.apache » catalina » mbeans » [javadoc | source]
org.apache.catalina.mbeans
public class: ServerLifecycleListener [javadoc | source]
java.lang.Object
   org.apache.catalina.mbeans.ServerLifecycleListener

All Implemented Interfaces:
    ContainerListener, PropertyChangeListener, LifecycleListener

Implementation of LifecycleListener that instantiates the set of MBeans associated with the components of a running instance of Catalina.
Field Summary
protected  String descriptors    Semicolon separated list of paths containing MBean desciptor resources. 
Method from org.apache.catalina.mbeans.ServerLifecycleListener Summary:
containerEvent,   createMBeans,   createMBeans,   createMBeans,   createMBeans,   createMBeans,   createMBeans,   createMBeans,   createMBeans,   createMBeans,   createMBeans,   createMBeans,   createMBeans,   destroyMBeans,   destroyMBeans,   destroyMBeans,   destroyMBeans,   destroyMBeans,   destroyMBeans,   destroyMBeans,   destroyMBeans,   destroyMBeans,   destroyMBeans,   getDescriptors,   lifecycleEvent,   processContainerAddChild,   processContainerPropertyChange,   processContainerRemoveChild,   processNamingResourcesPropertyChange,   processServerPropertyChange,   processServicePropertyChange,   propertyChange,   setDescriptors
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.catalina.mbeans.ServerLifecycleListener Detail:
 public  void containerEvent(ContainerEvent event) 
    Handle a ContainerEvent from one of the Containers we are interested in.
 protected  void createMBeans() 
    Create the MBeans that correspond to every existing node of our tree.
 protected  void createMBeans(Connector connector) throws Exception 
    Create the MBeans for the specified Connector and its nested components.
 protected  void createMBeans(Context context) throws Exception 
    Create the MBeans for the specified Context and its nested components.
 protected  void createMBeans(ContextEnvironment environment) throws Exception 
    Create the MBeans for the specified ContextEnvironment entry.
 protected  void createMBeans(ContextResource resource) throws Exception 
    Create the MBeans for the specified ContextResource entry.
 protected  void createMBeans(ContextResourceLink resourceLink) throws Exception 
    Create the MBeans for the specified ContextResourceLink entry.
 protected  void createMBeans(Engine engine) throws Exception 
    Create the MBeans for the specified Engine and its nested components.
 protected  void createMBeans(Host host) throws Exception 
    Create the MBeans for the specified Host and its nested components.
 protected  void createMBeans(MBeanFactory factory) throws Exception 
    Create the MBeans for MBeanFactory.
 protected  void createMBeans(NamingResources resources) throws Exception 
    Create the MBeans for the specified NamingResources and its nested components.
 protected  void createMBeans(Server server) throws Exception 
    Create the MBeans for the specified Server and its nested components.
 protected  void createMBeans(Service service) throws Exception 
    Create the MBeans for the specified Service and its nested components.
 protected  void destroyMBeans(Context context) throws Exception 
    Deregister the MBeans for the specified Context and its nested components.
 protected  void destroyMBeans(ContextEnvironment environment) throws Exception 
    Deregister the MBeans for the specified ContextEnvironment entry.
 protected  void destroyMBeans(ContextResource resource) throws Exception 
    Deregister the MBeans for the specified ContextResource entry.
 protected  void destroyMBeans(ContextResourceLink resourceLink) throws Exception 
    Deregister the MBeans for the specified ContextResourceLink entry.
 protected  void destroyMBeans(Engine engine) throws Exception 
    Deregister the MBeans for the specified Engine and its nested components.
 protected  void destroyMBeans(Host host) throws Exception 
    Deregister the MBeans for the specified Host and its nested components.
 protected  void destroyMBeans(NamingResources resources) throws Exception 
    Deregister the MBeans for the specified NamingResources and its nested components.
 protected  void destroyMBeans(Server server) throws Exception 
    Deregister the MBeans for the specified Server and its related components.
 protected  void destroyMBeans(Service service) throws Exception 
    Deregister the MBeans for the specified Service and its nested components.
 protected  void destroyMBeans(Connector connector,
    Service service) throws Exception 
    Deregister the MBeans for the specified Connector and its nested components.
 public String getDescriptors() 
 public  void lifecycleEvent(LifecycleEvent event) 
    Primary entry point for startup and shutdown events.
 protected  void processContainerAddChild(Container parent,
    Container child) 
    Process the addition of a new child Container to a parent Container.
 protected  void processContainerPropertyChange(Container container,
    String propertyName,
    Object oldValue,
    Object newValue) throws Exception 
    Process a property change event on a Container.
 protected  void processContainerRemoveChild(Container parent,
    Container child) 
    Process the removal of a child Container from a parent Container.
 protected  void processNamingResourcesPropertyChange(NamingResources resources,
    String propertyName,
    Object oldValue,
    Object newValue) throws Exception 
    Process a property change event on a NamingResources.
 protected  void processServerPropertyChange(Server server,
    String propertyName,
    Object oldValue,
    Object newValue) throws Exception 
    Process a property change event on a Server.
 protected  void processServicePropertyChange(Service service,
    String propertyName,
    Object oldValue,
    Object newValue) throws Exception 
    Process a property change event on a Service.
 public  void propertyChange(PropertyChangeEvent event) 
    Handle a PropertyChangeEvent from one of the Containers we are interested in.
 public  void setDescriptors(String descriptors)