org.mortbay.jetty.plus.jmx

Class PlusWebAppContextMBean

Implemented Interfaces:
MBeanRegistration, ModelMBean

public class PlusWebAppContextMBean
extends WebApplicationContextMBean

Author:
janb To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments

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

PlusWebAppContextMBean()
Constructor.

Method Summary

void
addEnvEntry(String name, String value)
Method only on JMX bean to deal with String values
protected void
defineManagedResource()
Define the Managed Resource.
void
postDeregister()
postDeregister Unregister mbeans we created for the Configuration objects.
void
postRegister(Boolean ok)

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

defineManagedResource, destroyConfigurations, getConfigurations, postDeregister, postRegister

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

PlusWebAppContextMBean

public PlusWebAppContextMBean()
            throws MBeanException
Constructor.

Method Details

addEnvEntry

public void addEnvEntry(String name,
                        String value)
Method only on JMX bean to deal with String values
Parameters:
name -
value -

defineManagedResource

protected void defineManagedResource()
Define the Managed Resource. This method is called the first time setManagedResource is called with a non-null object. It should be implemented by a derived ModelMBean to define the attributes and operations after an initial object has been set.
Overrides:
defineManagedResource in interface WebApplicationContextMBean

postDeregister

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

postRegister

public void postRegister(Boolean ok)
Overrides:
postRegister in interface WebApplicationContextMBean
Parameters:
ok -

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