|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--javax.management.MBeanInfo
|
+--javax.jmx.openmbean.OpenMBeanInfo
This class provides the main information structure for describing an open MBean.This class basically lists the attributes,operations, constructors and notifications of an open MBean.
| Constructor Summary | |
OpenMBeanInfo(java.lang.String className,
java.lang.String description,
MBeanAttributeInfo[] attributes,
MBeanConstructorInfo[] constructors,
MBeanOperationInfo[] operations,
MBeanNotificationInfo[] notifications)
Constructs an OpenMBeanInfo with the parameters defining the attributes,constructors,operations and notifications for the 'open'MBean identified by the className and the description for the MBean. |
|
| Method Summary | |
MBeanAttributeInfo[] |
getAttributes()
Returns the list of attributes exposed for management. |
MBeanConstructorInfo[] |
getConstructors()
Returns the list of the public constructors of the MBean. |
MBeanNotificationInfo[] |
getNotifications()
Returns the list of the notifications emitted by the MBean. |
MBeanOperationInfo[] |
getOperations()
Returns the list of operations of the MBean. |
| Methods inherited from class javax.management.MBeanInfo |
clone,
equals,
getClassName,
getDescription,
hashCode,
toString |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public OpenMBeanInfo(java.lang.String className,
java.lang.String description,
MBeanAttributeInfo[] attributes,
MBeanConstructorInfo[] constructors,
MBeanOperationInfo[] operations,
MBeanNotificationInfo[] notifications)
throws java.lang.Exception
className - a fully qualified Java class name describing the
MBeandescription - description about the MBeanattributes - the array of attributes describing the MBean, note
that the array elements should be an instance of OpenMBeanAttibuteInfo.constructors - the array of constructors fot the MBean, note
that the array elements should be an instance of OpenMBeanConstructorInfo.operations - the array of operations describing the MBean, note
that the array elements should be an instance of OpenMBeanOperationInfonotifications - the array of notifications describing the MBean, note
that the array elements should be an instance of OpenMBeanNotificationInfo| Method Detail |
public MBeanConstructorInfo[] getConstructors()
Returns the list of the public constructors of the MBean.
Each constructor is described by an
MBeanConstructorInfo object.
The returned array is a shallow copy of the internal array,
which means that it is a copy of the internal array of
references to the MBeanConstructorInfo objects but
that each referenced MBeanConstructorInfo object
is not copied.
The returned list is not necessarily exhaustive. That is, the MBean may have a public constructor that is not in the list. In this case, the MBean server can construct another instance of this MBean's class using that constructor, even though it is not listed here.
MBeanConstructorInfo objects.public MBeanNotificationInfo[] getNotifications()
MBeanNotificationInfo object.
The returned array is a shallow copy of the internal array,
which means that it is a copy of the internal array of
references to the MBeanNotificationInfo objects but that
each referenced MBeanNotificationInfo object is not copied.MBeanNotificationInfo objects.public MBeanOperationInfo[] getOperations()
MBeanOperationInfo object.
The returned array is a shallow copy of the internal array,
which means that it is a copy of the internal array of
references to the MBeanOperationInfo objects
but that each referenced MBeanOperationInfo object is not copied.MBeanOperationInfo objects.public MBeanAttributeInfo[] getAttributes()
MBeanAttributeInfo object.
The returned array is a shallow copy of the internal array,
which means that it is a copy of the internal array of
references to the MBeanAttributeInfo objects
but that each referenced MBeanAttributeInfo object is not copied.MBeanAttributeInfo objects.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||