org.apache.qpid.server.management
Class MBeanIntrospector

java.lang.Object
  extended by org.apache.qpid.server.management.MBeanIntrospector

 class MBeanIntrospector
extends Object

This class is a utility class to introspect the MBean class and the management interface class for various purposes.

Version:
0.1

Constructor Summary
MBeanIntrospector()
           
 
Method Summary
(package private) static MBeanAttributeInfo[] getMBeanAttributesInfo(Class interfaceClass)
          Introspects the management interface class for MBean attributes.
(package private) static MBeanConstructorInfo[] getMBeanConstructorsInfo(Class implClass)
          Introspects the MBean class for constructors
(package private) static String getMBeanDescription(Class annotatedClass)
          Retrieves the description from the annotations of given class
(package private) static MBeanOperationInfo[] getMBeanOperationsInfo(Class interfaceClass)
          Introspects the management interface class for management operations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBeanIntrospector

MBeanIntrospector()
Method Detail

getMBeanAttributesInfo

static MBeanAttributeInfo[] getMBeanAttributesInfo(Class interfaceClass)
                                            throws NotCompliantMBeanException
Introspects the management interface class for MBean attributes.

Parameters:
interfaceClass -
Returns:
MBeanAttributeInfo[]
Throws:
NotCompliantMBeanException

getMBeanOperationsInfo

static MBeanOperationInfo[] getMBeanOperationsInfo(Class interfaceClass)
Introspects the management interface class for management operations.

Parameters:
interfaceClass -
Returns:
MBeanOperationInfo[]

getMBeanConstructorsInfo

static MBeanConstructorInfo[] getMBeanConstructorsInfo(Class implClass)
Introspects the MBean class for constructors

Parameters:
implClass -
Returns:
MBeanConstructorInfo[]

getMBeanDescription

static String getMBeanDescription(Class annotatedClass)
Retrieves the description from the annotations of given class

Parameters:
annotatedClass -
Returns:
class description


Licensed to the Apache Software Foundation