org.objectweb.jonas.web.jetty50.jmx
Class JSR77ConfigurationMBean

java.lang.Object
  extended by org.mortbay.util.jmx.ModelMBeanImpl
      extended by org.mortbay.jetty.servlet.jmx.ConfigurationMBean
          extended by org.objectweb.jonas.web.jetty50.jmx.JSR77ConfigurationMBean
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 JSR77ConfigurationMBean
extends org.mortbay.jetty.servlet.jmx.ConfigurationMBean

JSR77Configuration MBean. It will register/deregister MBeans for the given WebApp. Expected MBeans creation : - 1 WebModule - n Servlet

Author:
Guillaume Sauthier

Field Summary
 
Fields inherited from class org.mortbay.jetty.servlet.jmx.ConfigurationMBean
_config
 
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
JSR77ConfigurationMBean()
          Default constructor
 
Method Summary
protected  void defineManagedResource()
          We do not add any attributes/operations
 void postDeregister()
          Deregister also all of the jsr77 mbeans we were responsible for registering.
 void postRegister(java.lang.Boolean ok)
          Register the other jsr77 mbeans
 
Methods inherited from class org.mortbay.jetty.servlet.jmx.ConfigurationMBean
getName, uniqueObjectName
 
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, newObjectName, preDeregister, preRegister, removeAttributeChangeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttribute, setAttributes, setBaseObjectName, setDefaultDomain, setManagedResource, setModelMBeanInfo, store, uniqueObjectName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSR77ConfigurationMBean

public JSR77ConfigurationMBean()
                        throws javax.management.MBeanException
Default constructor

Throws:
javax.management.MBeanException - if parent throws MBeanException
Method Detail

defineManagedResource

protected void defineManagedResource()
We do not add any attributes/operations

Overrides:
defineManagedResource in class org.mortbay.jetty.servlet.jmx.ConfigurationMBean

postRegister

public void postRegister(java.lang.Boolean ok)
Register the other jsr77 mbeans

Specified by:
postRegister in interface javax.management.MBeanRegistration
Overrides:
postRegister in class org.mortbay.util.jmx.ModelMBeanImpl
Parameters:
ok - Boolean
See Also:
MBeanRegistration.postRegister(java.lang.Boolean)

postDeregister

public void postDeregister()
Deregister also all of the jsr77 mbeans we were responsible for registering.

Specified by:
postDeregister in interface javax.management.MBeanRegistration
Overrides:
postDeregister in class org.mortbay.util.jmx.ModelMBeanImpl
See Also:
MBeanRegistration.postDeregister()