org.jmux.app.component.jmx
Class JMXObjectAdapter
java.lang.Object
org.jmux.app.component.jmx.JMXObjectAdapter
- All Implemented Interfaces:
- javax.management.DynamicMBean
public class JMXObjectAdapter
- extends java.lang.Object
- implements javax.management.DynamicMBean
- Author:
- donaldw
Constructor Summary |
JMXObjectAdapter(java.lang.String description,
java.lang.Object target)
|
Method Summary |
java.lang.Object |
getAttribute(java.lang.String string)
|
javax.management.AttributeList |
getAttributes(java.lang.String[] strings)
|
javax.management.MBeanInfo |
getMBeanInfo()
|
java.lang.Object |
invoke(java.lang.String string,
java.lang.Object[] objects,
java.lang.String[] strings)
|
void |
setAttribute(javax.management.Attribute attribute)
|
javax.management.AttributeList |
setAttributes(javax.management.AttributeList attributeList)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JMXObjectAdapter
public JMXObjectAdapter(java.lang.String description,
java.lang.Object target)
getAttribute
public java.lang.Object getAttribute(java.lang.String string)
throws javax.management.AttributeNotFoundException,
javax.management.MBeanException,
javax.management.ReflectionException
- Specified by:
getAttribute
in interface javax.management.DynamicMBean
- Throws:
javax.management.AttributeNotFoundException
javax.management.MBeanException
javax.management.ReflectionException
setAttribute
public void setAttribute(javax.management.Attribute attribute)
throws javax.management.AttributeNotFoundException,
javax.management.InvalidAttributeValueException,
javax.management.MBeanException,
javax.management.ReflectionException
- Specified by:
setAttribute
in interface javax.management.DynamicMBean
- Throws:
javax.management.AttributeNotFoundException
javax.management.InvalidAttributeValueException
javax.management.MBeanException
javax.management.ReflectionException
getAttributes
public javax.management.AttributeList getAttributes(java.lang.String[] strings)
- Specified by:
getAttributes
in interface javax.management.DynamicMBean
setAttributes
public javax.management.AttributeList setAttributes(javax.management.AttributeList attributeList)
- Specified by:
setAttributes
in interface javax.management.DynamicMBean
invoke
public java.lang.Object invoke(java.lang.String string,
java.lang.Object[] objects,
java.lang.String[] strings)
throws javax.management.MBeanException,
javax.management.ReflectionException
- Specified by:
invoke
in interface javax.management.DynamicMBean
- Throws:
javax.management.MBeanException
javax.management.ReflectionException
getMBeanInfo
public javax.management.MBeanInfo getMBeanInfo()
- Specified by:
getMBeanInfo
in interface javax.management.DynamicMBean
Copyright © 2006-2008 jmux.org. All Rights Reserved.