org.mortbay.jetty.servlet.jmx

Class WebApplicationContextMBean

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)

Constructor Summary
WebApplicationContextMBean()
Constructor.
Method Summary
protected voiddefineManagedResource()
voiddestroyConfigurations()
ObjectName[]getConfigurations()
getConfigurations Make mbeans for all of the Configurations applied to the WebApplicationContext
voidpostDeregister()
postDeregister Unregister mbeans we created for the Configuration objects.
voidpostRegister(Boolean ok)
postRegister Register mbeans for all of the jsr77 servlet stats

Constructor Detail

WebApplicationContextMBean

public WebApplicationContextMBean()
Constructor.

Throws: MBeanException

Method Detail

defineManagedResource

protected void defineManagedResource()

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.

See Also: javax.management.MBeanRegistration#postDeregister()

postRegister

public void postRegister(Boolean ok)
postRegister Register mbeans for all of the jsr77 servlet stats

See Also: javax.management.MBeanRegistration#postRegister(java.lang.Boolean)

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