java.lang.Object
org.jbossmx.cluster.watchdog.util.MBeanMirror
- All Implemented Interfaces:
- javax.management.DynamicMBean
- public class MBeanMirror
- extends java.lang.Object
- implements javax.management.DynamicMBean
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_rmiAdaptor
private org.jboss.jmx.adaptor.rmi.RMIAdaptor m_rmiAdaptor
m_mirroredMBeanObjectName
private javax.management.ObjectName m_mirroredMBeanObjectName
MBeanMirror
public MBeanMirror(org.jboss.jmx.adaptor.rmi.RMIAdaptor rmiAdaptor,
javax.management.ObjectName mirroredMBeanObjectName)
getAttribute
public java.lang.Object getAttribute(java.lang.String attribute)
throws javax.management.AttributeNotFoundException,
javax.management.MBeanException,
javax.management.ReflectionException
- Description copied from interface:
javax.management.DynamicMBean
- Returns the value of the attribute with the name matching the
passed string.
- Specified by:
getAttribute in interface javax.management.DynamicMBean
getAttributes
public javax.management.AttributeList getAttributes(java.lang.String[] attributes)
- Description copied from interface:
javax.management.DynamicMBean
- Returns the values of the attributes with names matching the
passed string array.
- Specified by:
getAttributes in interface javax.management.DynamicMBean
getMBeanInfo
public javax.management.MBeanInfo getMBeanInfo()
- Description copied from interface:
javax.management.DynamicMBean
- Returns the management interface that describes this dynamic resource.
It is the responsibility of the implementation to make sure the
description is accurate.
- Specified by:
getMBeanInfo in interface javax.management.DynamicMBean
invoke
public java.lang.Object invoke(java.lang.String actionName,
java.lang.Object[] parameters,
java.lang.String[] signature)
throws javax.management.MBeanException,
javax.management.ReflectionException
- Description copied from interface:
javax.management.DynamicMBean
- Invokes a resource operation.
- Specified by:
invoke in interface javax.management.DynamicMBean
setAttribute
public void setAttribute(javax.management.Attribute attribute)
throws javax.management.AttributeNotFoundException,
javax.management.InvalidAttributeValueException,
javax.management.MBeanException,
javax.management.ReflectionException
- Description copied from interface:
javax.management.DynamicMBean
- Sets the value of an attribute. The attribute and new value are
passed in the name value pair Attribute.
- Specified by:
setAttribute in interface javax.management.DynamicMBean
setAttributes
public javax.management.AttributeList setAttributes(javax.management.AttributeList attributes)
- Description copied from interface:
javax.management.DynamicMBean
- Sets the values of the attributes passed as an
AttributeList of name and new value pairs.
- Specified by:
setAttributes in interface javax.management.DynamicMBean
getRMIAdaptor
private org.jboss.jmx.adaptor.rmi.RMIAdaptor getRMIAdaptor()
getObjectName
private javax.management.ObjectName getObjectName()