org.objectweb.jonas.web.jetty50
Class JettyJonasServerMBean

java.lang.Object
  extended by org.mortbay.util.jmx.ModelMBeanImpl
      extended by org.mortbay.util.jmx.LifeCycleMBean
          extended by org.mortbay.http.jmx.HttpServerMBean
              extended by org.mortbay.jetty.jmx.ServerMBean
                  extended by org.objectweb.jonas.web.jetty50.JettyJonasServerMBean
All Implemented Interfaces:
java.util.EventListener, javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.modelmbean.ModelMBean, javax.management.modelmbean.ModelMBeanNotificationBroadcaster, javax.management.NotificationBroadcaster, javax.management.PersistentMBean, org.mortbay.util.ComponentListener

public class JettyJonasServerMBean
extends org.mortbay.jetty.jmx.ServerMBean

Define The MBean for Jetty

Author:
Miroslav Halas

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
JettyJonasServerMBean(org.mortbay.jetty.Server jettyServer)
          Constructor.
 
Method Summary
 
Methods inherited from class org.mortbay.jetty.jmx.ServerMBean
defineManagedResource, newObjectName, postDeregister, postRegister
 
Methods inherited from class org.mortbay.http.jmx.HttpServerMBean
addComponent, getComponents, getVersion, removeComponent, setManagedResource
 
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, setModelMBeanInfo, store, uniqueObjectName, uniqueObjectName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JettyJonasServerMBean

public JettyJonasServerMBean(org.mortbay.jetty.Server jettyServer)
                      throws javax.management.MBeanException,
                             javax.management.InstanceNotFoundException
Constructor.

Parameters:
jettyServer - instance of Jetty server.
Throws:
javax.management.MBeanException - if Mbean fail.
javax.management.InstanceNotFoundException - if it can found the instance.