org.apache.catalina.mbeans
public class GlobalResourcesLifecycleListener extends Object implements LifecycleListener
LifecycleListener that instantiates the
set of MBeans associated with global JNDI resources that are subject to
management.
Since: 4.1
Version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $
| 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 Summary | |
|---|---|
| protected void | createMBeans()
Create the MBeans for the interesting global JNDI resources. |
| protected void | createMBeans(String prefix, Context context)
Create the MBeans for the interesting global JNDI resources in
the specified naming context.
|
| protected void | createMBeans(String name, UserDatabase database)
Create the MBeans for the specified UserDatabase and its contents.
|
| protected void | destroyMBeans()
Destroy the MBeans for the interesting global JNDI resources. |
| void | lifecycleEvent(LifecycleEvent event)
Primary entry point for startup and shutdown events.
|
Parameters: prefix Prefix for complete object name paths context Context to be scanned
Throws: NamingException if a JNDI exception occurs
Parameters: name Complete resource name of this UserDatabase database The UserDatabase to be processed
Throws: Exception if an exception occurs while creating MBeans
Parameters: event The event that has occurred