org.mortbay.jetty.servlet.jmx

Class WebApplicationContextMBean

Implemented Interfaces:
MBeanRegistration, ModelMBean
Known Direct 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)

Field Summary

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, _beanInfo

Constructor Summary

WebApplicationContextMBean()
Constructor.

Method Summary

protected void
defineManagedResource()
void
destroyConfigurations()
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(Boolean ok)
postRegister Register mbeans for all of the jsr77 servlet stats

Methods inherited from class org.mortbay.jetty.servlet.jmx.ServletHttpContextMBean

defineManagedResource

Methods inherited from class org.mortbay.http.jmx.HttpContextMBean

defineManagedResource, destroyHandlers, getHandlers, getRequestLog, newObjectName, postDeregister, postRegister

Methods inherited from class org.mortbay.util.jmx.LifeCycleMBean

defineManagedResource

Methods inherited from class org.mortbay.util.jmx.ModelMBeanImpl

addAttributeChangeNotificationListener, addNotificationListener, defineAttribute, defineAttribute, defineAttribute, defineAttribute, defineManagedResource, defineOperation, defineOperation, defineOperation, defineOperation, destroyComponentMBeans, getAttribute, getAttributes, getBaseObjectName, getComponentMBeans, getDefaultDomain, getMBeanInfo, getMBeanServer, getManagedResource, getNotificationInfo, getObjectName, invoke, load, mbeanFor, newObjectName, postDeregister, postRegister, preDeregister, preRegister, removeAttributeChangeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttribute, setAttributes, setBaseObjectName, setDefaultDomain, setManagedResource, setModelMBeanInfo, store, uniqueObjectName, uniqueObjectName

Constructor Details

WebApplicationContextMBean

public WebApplicationContextMBean()
            throws MBeanException
Constructor.

Method Details

defineManagedResource

protected void defineManagedResource()
Overrides:
defineManagedResource in interface ServletHttpContextMBean

destroyConfigurations

public void destroyConfigurations()

getConfigurations

public ObjectName[] getConfigurations()
getConfigurations Make mbeans for all of the Configurations applied to the WebApplicationContext
Returns:

postDeregister

public void postDeregister()
postDeregister Unregister mbeans we created for the Configuration objects.
Overrides:
postDeregister in interface HttpContextMBean
See Also:
javax.management.MBeanRegistration.postDeregister()

postRegister

public void postRegister(Boolean ok)
postRegister Register mbeans for all of the jsr77 servlet stats
Overrides:
postRegister in interface HttpContextMBean
See Also:
javax.management.MBeanRegistration.postRegister(java.lang.Boolean)

Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.