org.huihoo.jfox.jmx
Class MBeanMetaDataSupport
java.lang.Object
|
+--org.huihoo.jfox.jmx.MBeanMetaDataSupport
- All Implemented Interfaces:
- MBeanInterfaceMetaData, MBeanMetaData
- public class MBeanMetaDataSupport
- extends java.lang.Object
- implements MBeanMetaData
- Author:
- Young Yang
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBeanMetaDataSupport
public MBeanMetaDataSupport(ObjectName objectName,
java.lang.Object mbeanObject,
MBeanInterfaceMetaData interfaceMetaData)
getMBeanInfo
public MBeanInfo getMBeanInfo()
- Specified by:
getMBeanInfo in interface MBeanMetaData
getClassName
public java.lang.String getClassName()
- Specified by:
getClassName in interface MBeanMetaData
getClassLoader
public java.lang.ClassLoader getClassLoader()
- Specified by:
getClassLoader in interface MBeanMetaData
getAttributeInfo
public MBeanAttributeInfo getAttributeInfo(java.lang.String attribute)
- Specified by:
getAttributeInfo in interface MBeanInterfaceMetaData
getAttributes
public MBeanAttributeInfo[] getAttributes()
- Specified by:
getAttributes in interface MBeanInterfaceMetaData
getOperations
public MBeanOperationInfo[] getOperations()
- Specified by:
getOperations in interface MBeanInterfaceMetaData
getObjectName
public ObjectName getObjectName()
- Specified by:
getObjectName in interface MBeanMetaData
setObjectName
public void setObjectName(ObjectName name)
- Specified by:
setObjectName in interface MBeanMetaData
findConstructor
public java.lang.reflect.Constructor findConstructor(java.lang.Class[] signatures)
getMBeanObject
public java.lang.Object getMBeanObject()
- Specified by:
getMBeanObject in interface MBeanMetaData
getObjectInstance
public ExtendedObjectInstance getObjectInstance()
- Specified by:
getObjectInstance in interface MBeanMetaData
isDynamic
public boolean isDynamic()
- Specified by:
isDynamic in interface MBeanMetaData
getInterfaceClass
public java.lang.Class getInterfaceClass()
- Specified by:
getInterfaceClass in interface MBeanInterfaceMetaData
getInterfaceClassName
public java.lang.String getInterfaceClassName()
- Specified by:
getInterfaceClassName in interface MBeanMetaData
getAttribute
public java.lang.Object getAttribute(java.lang.String attribute)
throws MBeanException,
AttributeNotFoundException,
ReflectionException
- Specified by:
getAttribute in interface MBeanMetaData
MBeanException
AttributeNotFoundException
ReflectionException
getAttributes
public AttributeList getAttributes(java.lang.String[] attributes)
throws MBeanException,
AttributeNotFoundException,
ReflectionException
- Specified by:
getAttributes in interface MBeanMetaData
MBeanException
AttributeNotFoundException
ReflectionException
setAttribute
public void setAttribute(Attribute attribute)
throws AttributeNotFoundException,
InvalidAttributeValueException,
MBeanException,
ReflectionException
- Specified by:
setAttribute in interface MBeanMetaData
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException
setAttributes
public AttributeList setAttributes(AttributeList attributes)
throws AttributeNotFoundException,
InvalidAttributeValueException,
MBeanException,
ReflectionException
- Specified by:
setAttributes in interface MBeanMetaData
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException
invoke
public java.lang.Object invoke(java.lang.String operationName,
java.lang.Object[] params,
java.lang.String[] signatures)
throws MBeanException,
ReflectionException
- Specified by:
invoke in interface MBeanMetaData
MBeanException
ReflectionException