org.openqa.jetty.jetty.servlet.jmx
Class HolderMBean
java.lang.Object
org.openqa.jetty.util.jmx.ModelMBeanImpl
org.openqa.jetty.util.jmx.LifeCycleMBean
org.openqa.jetty.jetty.servlet.jmx.HolderMBean
- All Implemented Interfaces:
- DynamicMBean, MBeanRegistration, ModelMBean, ModelMBeanNotificationBroadcaster, NotificationBroadcaster, PersistentMBean
- Direct Known Subclasses:
- FilterHolderMBean, ServletHolderMBean
public class HolderMBean
- extends LifeCycleMBean
- Version:
- $Revision: 1.5 $
- Author:
- Greg Wilkins (gregw)
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 |
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 |
HolderMBean
public HolderMBean()
throws MBeanException
- Constructor.
- Throws:
MBeanException
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 LifeCycleMBean
getInitParameters
public String getInitParameters()
uniqueObjectName
public ObjectName uniqueObjectName(MBeanServer server,
String objectName)
- Description copied from class:
ModelMBeanImpl
- Add an id clause to a JMX object name.
Used to make unique objectnames when there are no other
distinguishing attributes.
If the passed object name ends with '=', just a unique ID is
added. Otherwise and classname= clause is added.
- Overrides:
uniqueObjectName
in class ModelMBeanImpl
- Returns:
- objectName with id= class.
Copyright © 2011. All Rights Reserved.