javax.management
Class MBeanInfo
java.lang.Object
|
+--javax.management.MBeanInfo
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- Direct Known Subclasses:
- ModelMBeanInfoSupport, OpenMBeanInfoSupport
- public class MBeanInfo
- extends java.lang.Object
- implements java.lang.Cloneable, java.io.Serializable
- Author:
- Young Yang
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBeanInfo
public MBeanInfo(java.lang.String className,
java.lang.String description,
MBeanAttributeInfo[] attributes,
MBeanConstructorInfo[] constructors,
MBeanOperationInfo[] operations,
MBeanNotificationInfo[] notifications)
- Constructs an
MBeanInfo.
- Parameters:
className - The name of the Java class of the MBean described by this MBeanInfo.description - A human readable description of the MBean (optional).attributes - The list of exposed attributes of the MBean.constructors - The list of public constructors of the MBean.operations - The list of operations of the MBean.notifications - The list of notifications emitted by an MBean.
clone
public java.lang.Object clone()
- Overrides:
clone in class java.lang.Object
getClassName
public java.lang.String getClassName()
- Returns the name of the Java class of the MBean described by
this
MBeanInfo.
getDescription
public java.lang.String getDescription()
- Returns a human readable description of the MBean.
getAttributes
public MBeanAttributeInfo[] getAttributes()
- Returns the list of attributes exposed for management.
Each attribute is described by an
MBeanAttributeInfo object.
- Returns:
- An array of
MBeanAttributeInfo objects.
getOperations
public MBeanOperationInfo[] getOperations()
- Returns the list of operations of the MBean.
Each operation is described by an
MBeanOperationInfo object.
- Returns:
- An array of
MBeanOperationInfo objects.
getConstructors
public MBeanConstructorInfo[] getConstructors()
- Returns the list of the public constructors of the MBean.
Each constructor is described by an
MBeanConstructorInfo object.
- Returns:
- An array of
MBeanConstructorInfo objects.
getNotifications
public MBeanNotificationInfo[] getNotifications()
- Returns the list of the notifications emitted by the MBean.
Each notification is described by an
MBeanNotificationInfo object.
- Returns:
- An array of
MBeanNotificationInfo objects.