org.openqa.jetty.jetty.servlet.jmx
Class ConfigurationMBean
java.lang.Object
org.openqa.jetty.util.jmx.ModelMBeanImpl
org.openqa.jetty.jetty.servlet.jmx.ConfigurationMBean
- All Implemented Interfaces:
- DynamicMBean, MBeanRegistration, ModelMBean, ModelMBeanNotificationBroadcaster, NotificationBroadcaster, PersistentMBean
- Direct Known Subclasses:
- JettyWebConfigurationMBean, XMLConfigurationMBean
public class ConfigurationMBean
- extends ModelMBeanImpl
ConfigurationMBean
MBean proxy for a WebApplicationContext.Configuration object.
- Version:
- $Revision: 1.2 $ $Date: 2005/08/13 00:01:27 $
- Author:
- janb
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 |
Method Summary |
protected void |
defineManagedResource()
defineManagedResource
Grab the object which this mbean is proxying for, which in
this case is an org.openqa.jetty.jetty.servlet.WebApplicationContext.Configuration |
String |
getName()
getName
This method is only defined to satisfy JMX: it is non-compliant
to have an mbean with no methods on it, so this method has been
added as a workaround. |
ObjectName |
uniqueObjectName(MBeanServer server,
String on)
uniqueObjectName
Make a unique jmx name for this configuration object |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_config
protected WebApplicationContext.Configuration _config
ConfigurationMBean
public ConfigurationMBean()
throws MBeanException
- Throws:
MBeanException
defineManagedResource
protected void defineManagedResource()
- defineManagedResource
Grab the object which this mbean is proxying for, which in
this case is an org.openqa.jetty.jetty.servlet.WebApplicationContext.Configuration
- Overrides:
defineManagedResource
in class ModelMBeanImpl
- See Also:
ModelMBeanImpl.defineManagedResource()
getName
public String getName()
- getName
This method is only defined to satisfy JMX: it is non-compliant
to have an mbean with no methods on it, so this method has been
added as a workaround.
- Returns:
- classname of the Configuration instance
uniqueObjectName
public ObjectName uniqueObjectName(MBeanServer server,
String on)
- uniqueObjectName
Make a unique jmx name for this configuration object
- Overrides:
uniqueObjectName
in class ModelMBeanImpl
- Returns:
- objectName with id= class.
- See Also:
ModelMBeanImpl.uniqueObjectName(javax.management.MBeanServer, java.lang.String)
Copyright © 2011. All Rights Reserved.