org.openqa.jetty.util.jmx
Class LifeCycleMBean

java.lang.Object
  extended by org.openqa.jetty.util.jmx.ModelMBeanImpl
      extended by org.openqa.jetty.util.jmx.LifeCycleMBean
All Implemented Interfaces:
javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.modelmbean.ModelMBean, javax.management.modelmbean.ModelMBeanNotificationBroadcaster, javax.management.NotificationBroadcaster, javax.management.PersistentMBean
Direct Known Subclasses:
HolderMBean, HttpContextMBean, HttpHandlerMBean, HttpServerMBean, NCSARequestLogMBean, SessionManagerMBean, ThreadPoolMBean

public class LifeCycleMBean
extends ModelMBeanImpl

Version:
$Revision: 1.4 $
Author:
Greg Wilkins (gregw)

Field Summary
 
Fields inherited from class org.openqa.jetty.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
LifeCycleMBean()
           
LifeCycleMBean(LifeCycle object)
           
 
Method Summary
protected  void defineManagedResource()
          Define the Managed Resource.
 
Methods inherited from class org.openqa.jetty.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, postDeregister, postRegister, 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

LifeCycleMBean

public LifeCycleMBean()
               throws javax.management.MBeanException
Throws:
javax.management.MBeanException

LifeCycleMBean

public LifeCycleMBean(LifeCycle object)
               throws javax.management.MBeanException
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 ModelMBeanImpl


Copyright © 2011. All Rights Reserved.