org.mortbay.jetty.servlet.jmx
Class WebApplicationContextMBean
java.lang.Object
org.mortbay.util.jmx.ModelMBeanImpl
org.mortbay.util.jmx.LifeCycleMBean
org.mortbay.http.jmx.HttpContextMBean
org.mortbay.jetty.servlet.jmx.ServletHttpContextMBean
org.mortbay.jetty.servlet.jmx.WebApplicationContextMBean
- All Implemented Interfaces:
- javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.modelmbean.ModelMBean, javax.management.modelmbean.ModelMBeanNotificationBroadcaster, javax.management.NotificationBroadcaster, javax.management.PersistentMBean
- Direct Known Subclasses:
- PlusWebAppContextMBean
- public class WebApplicationContextMBean
- extends ServletHttpContextMBean
Web Application MBean.
Note that while Web Applications are HttpContexts, the MBean is
not derived from HttpContextMBean as they are managed differently.
- Version:
- $Revision: 1.11 $
- Author:
- Greg Wilkins (gregw)
Fields inherited from class org.mortbay.util.jmx.ModelMBeanImpl |
IMPACT_ACTION, IMPACT_ACTION_INFO, IMPACT_INFO, IMPACT_UNKOWN, INT, NO_PARAMS, OBJECT, ON_MBEAN, ON_OBJECT, READ_ONLY, READ_WRITE, STRING |
Method Summary |
void |
destroyConfigurations()
|
javax.management.ObjectName[] |
getConfigurations()
getConfigurations
Make mbeans for all of the Configurations applied to the
WebApplicationContext |
void |
postDeregister()
postDeregister
Unregister mbeans we created for the Configuration objects. |
void |
postRegister(java.lang.Boolean ok)
postRegister
Register mbeans for all of the jsr77 servlet stats |
Methods inherited from class org.mortbay.util.jmx.ModelMBeanImpl |
addAttributeChangeNotificationListener, addNotificationListener, defineAttribute, defineAttribute, defineAttribute, defineAttribute, defineOperation, defineOperation, defineOperation, defineOperation, getAttribute, getAttributes, getBaseObjectName, getDefaultDomain, getManagedResource, getMBeanInfo, getMBeanServer, getNotificationInfo, getObjectName, invoke, load, mbeanFor, preDeregister, preRegister, removeAttributeChangeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttribute, setAttributes, setBaseObjectName, setDefaultDomain, setManagedResource, setModelMBeanInfo, store, uniqueObjectName, uniqueObjectName |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebApplicationContextMBean
public WebApplicationContextMBean()
throws javax.management.MBeanException
- Constructor.
- Throws:
javax.management.MBeanException
postRegister
public void postRegister(java.lang.Boolean ok)
- postRegister
Register mbeans for all of the jsr77 servlet stats
- Specified by:
postRegister
in interface javax.management.MBeanRegistration
- Overrides:
postRegister
in class HttpContextMBean
- See Also:
MBeanRegistration.postRegister(java.lang.Boolean)
postDeregister
public void postDeregister()
- postDeregister
Unregister mbeans we created for the Configuration objects.
- Specified by:
postDeregister
in interface javax.management.MBeanRegistration
- Overrides:
postDeregister
in class HttpContextMBean
- See Also:
MBeanRegistration.postDeregister()
getConfigurations
public javax.management.ObjectName[] getConfigurations()
- getConfigurations
Make mbeans for all of the Configurations applied to the
WebApplicationContext
- Returns:
destroyConfigurations
public void destroyConfigurations()
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.