org.mortbay.jetty.servlet.jmx

Class ConfigurationMBean

Implemented Interfaces:
MBeanRegistration, ModelMBean
Known Direct 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

Field Summary

protected WebApplicationContext.Configuration
_config

Fields inherited from class org.mortbay.util.jmx.ModelMBeanImpl

IMPACT_ACTION, IMPACT_ACTION_INFO, IMPACT_INFO, IMPACT_UNKOWN, INT, NO_PARAMS, OBJECT, ON_MBEAN, ON_OBJECT, READ_ONLY, READ_WRITE, STRING, _beanInfo

Constructor Summary

ConfigurationMBean()

Method Summary

protected void
defineManagedResource()
defineManagedResource Grab the object which this mbean is proxying for, which in this case is an org.mortbay.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.mortbay.util.jmx.ModelMBeanImpl

addAttributeChangeNotificationListener, addNotificationListener, defineAttribute, defineAttribute, defineAttribute, defineAttribute, defineManagedResource, defineOperation, defineOperation, defineOperation, defineOperation, destroyComponentMBeans, getAttribute, getAttributes, getBaseObjectName, getComponentMBeans, getDefaultDomain, getMBeanInfo, getMBeanServer, getManagedResource, 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

Field Details

_config

protected WebApplicationContext.Configuration _config

Constructor Details

ConfigurationMBean

public ConfigurationMBean()
            throws MBeanException

Method Details

defineManagedResource

protected void defineManagedResource()
defineManagedResource Grab the object which this mbean is proxying for, which in this case is an org.mortbay.jetty.servlet.WebApplicationContext.Configuration
Overrides:
defineManagedResource in interface ModelMBeanImpl

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 interface ModelMBeanImpl
See Also:
org.mortbay.util.jmx.ModelMBeanImpl.uniqueObjectName(javax.management.MBeanServer, java.lang.String)

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