org.mortbay.jetty.plus.jmx
Class PlusWebAppContextMBean

java.lang.Object
  extended by org.mortbay.util.jmx.ModelMBeanImpl
      extended by org.mortbay.util.jmx.LifeCycleMBean
          extended by org.mortbay.http.jmx.HttpContextMBean
              extended by org.mortbay.jetty.servlet.jmx.ServletHttpContextMBean
                  extended by org.mortbay.jetty.servlet.jmx.WebApplicationContextMBean
                      extended by org.mortbay.jetty.plus.jmx.PlusWebAppContextMBean
All Implemented Interfaces:
javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.modelmbean.ModelMBean, javax.management.modelmbean.ModelMBeanNotificationBroadcaster, javax.management.NotificationBroadcaster, javax.management.PersistentMBean

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
_beanInfo, IMPACT_ACTION, IMPACT_ACTION_INFO, IMPACT_INFO, IMPACT_UNKOWN, INT, NO_PARAMS, OBJECT, ON_MBEAN, ON_OBJECT, READ_ONLY, READ_WRITE, STRING
 
Constructor Summary
PlusWebAppContextMBean()
          Constructor.
 
Method Summary
 void addEnvEntry(java.lang.String name, java.lang.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(java.lang.Boolean ok)
          postRegister Register mbeans for all of the jsr77 servlet stats
 
Methods inherited from class org.mortbay.jetty.servlet.jmx.WebApplicationContextMBean
destroyConfigurations, getConfigurations
 
Methods inherited from class org.mortbay.http.jmx.HttpContextMBean
destroyHandlers, getHandlers, getRequestLog, newObjectName
 
Methods inherited from class org.mortbay.util.jmx.ModelMBeanImpl
addAttributeChangeNotificationListener, addNotificationListener, defineAttribute, defineAttribute, defineAttribute, defineAttribute, defineOperation, defineOperation, defineOperation, defineOperation, destroyComponentMBeans, getAttribute, getAttributes, getBaseObjectName, getComponentMBeans, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlusWebAppContextMBean

public PlusWebAppContextMBean()
                       throws javax.management.MBeanException
Constructor.

Throws:
javax.management.MBeanException
Method Detail

defineManagedResource

protected void defineManagedResource()
Description copied from class: ModelMBeanImpl
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 class WebApplicationContextMBean

addEnvEntry

public void addEnvEntry(java.lang.String name,
                        java.lang.String value)
Method only on JMX bean to deal with String values

Parameters:
name -
value -

postRegister

public void postRegister(java.lang.Boolean ok)
Description copied from class: WebApplicationContextMBean
postRegister Register mbeans for all of the jsr77 servlet stats

Specified by:
postRegister in interface javax.management.MBeanRegistration
Overrides:
postRegister in class WebApplicationContextMBean
Parameters:
ok -
See Also:
MBeanRegistration.postRegister(java.lang.Boolean)

postDeregister

public void postDeregister()
Description copied from class: WebApplicationContextMBean
postDeregister Unregister mbeans we created for the Configuration objects.

Specified by:
postDeregister in interface javax.management.MBeanRegistration
Overrides:
postDeregister in class WebApplicationContextMBean
See Also:
MBeanRegistration.postDeregister()


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