java.lang.Object
org.apache.commons.modeler.BaseModelMBean
org.apache.jk.common.ModJkMX.MBeanProxy
- All Implemented Interfaces:
- javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.modelmbean.ModelMBean, javax.management.modelmbean.ModelMBeanNotificationBroadcaster, javax.management.NotificationBroadcaster, javax.management.PersistentMBean
- Enclosing class:
- ModJkMX
- static class ModJkMX.MBeanProxy
- extends org.apache.commons.modeler.BaseModelMBean
Use the same metadata, except that we replace the attribute
get/set methods.
| Methods inherited from class org.apache.commons.modeler.BaseModelMBean |
addAttributeChangeNotificationListener, addNotificationListener, createDefaultModelMBeanInfo, createResource, getAttributes, getClassName, getManagedResource, getMBeanInfo, getModelerType, getNotificationInfo, getObjectName, getRegistry, initModelInfo, isModelMBeanInfoValid, load, postDeregister, postRegister, preDeregister, preRegister, removeAttributeChangeNotificationListener, removeAttributeChangeNotificationListener, removeNotificationListener, removeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttributes, setManagedResource, setModeledType, setModelMBeanInfo, setRegistry, store, toString |
log
private static org.apache.commons.logging.Log log
jkName
java.lang.String jkName
getAttNames
java.util.List getAttNames
setAttNames
java.util.List setAttNames
atts
java.util.HashMap atts
jkmx
ModJkMX jkmx
ModJkMX.MBeanProxy
public ModJkMX.MBeanProxy(ModJkMX jkmx)
throws java.lang.Exception
init
void init(java.lang.String name,
java.util.List getters,
java.util.List setters,
java.util.List methods)
throws java.lang.Exception
update
private void update(java.lang.String name,
java.lang.String val)
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
throws javax.management.AttributeNotFoundException,
javax.management.MBeanException,
javax.management.ReflectionException
- Description copied from class:
org.apache.commons.modeler.BaseModelMBean
- Obtain and return the value of a specific attribute of this MBean.
setAttribute
public void setAttribute(javax.management.Attribute attribute)
throws javax.management.AttributeNotFoundException,
javax.management.MBeanException,
javax.management.ReflectionException
- Description copied from class:
org.apache.commons.modeler.BaseModelMBean
- Set the value of a specific attribute of this MBean.
invoke
public java.lang.Object invoke(java.lang.String name,
java.lang.Object[] params,
java.lang.String[] signature)
throws javax.management.MBeanException,
javax.management.ReflectionException
- Description copied from class:
org.apache.commons.modeler.BaseModelMBean
- Invoke a particular method on this MBean, and return any returned
value.
IMPLEMENTATION NOTE - This implementation will
attempt to invoke this method on the MBean itself, or (if not
available) on the managed resource object associated with this
MBean.