|
|||||||||
| Home >> All >> javax >> management >> [ openmbean overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
javax.management.openmbean
Interface OpenMBeanInfo

- All Known Implementing Classes:
- OpenMBeanInfoSupport
- public interface OpenMBeanInfo
An MBean is an OpenMBean when its getMBeanInfo() returns an MBeanInfo implementing this interface and extending javax.management.MBeanInfo.
OpenMBeanInfoSupport is an example of such a class.
The MBean info classes should be the OpenInfo versions. e.g. an OpenMBeanAttributeInfo instead of MBeanAttributeInfo.
- Version:
- $Revision: 1.1.2.1 $
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Compares an object for equality with the implementing class. |
javax.management.MBeanAttributeInfo[] |
getAttributes()
Retrieve an array of OpenMBeanAttributeInfos describing each attribute of the open mbean. |
java.lang.String |
getClassName()
Retrieve the fully qualified class name of the open MBean the implementation of this interface describes. |
javax.management.MBeanConstructorInfo[] |
getConstructors()
Retrieve an array of OpenMBeanConstructorInfos describing each constructor of the open mbean. |
java.lang.String |
getDescription()
Retrieve a human readable description of the open MBean the implementation of this interface describes. |
javax.management.MBeanNotificationInfo[] |
getNotifications()
Retrieve an array of MBeanNotificationInfos describing each notification of the open mbean. |
javax.management.MBeanOperationInfo[] |
getOperations()
Retrieve an array of OpenMBeanOperationInfos describing each operation of the open mbean. |
int |
hashCode()
Generates a hashcode for the implementation. |
java.lang.String |
toString()
A string representation of the open mbean info. |
| Method Detail |
getClassName
public java.lang.String getClassName()
- Retrieve the fully qualified class name of the open MBean the
implementation of this interface describes.
getDescription
public java.lang.String getDescription()
- Retrieve a human readable description of the open MBean the
implementation of this interface describes.
getAttributes
public javax.management.MBeanAttributeInfo[] getAttributes()
- Retrieve an array of OpenMBeanAttributeInfos describing each attribute
of the open mbean.
Each instance should also implement OpenMBeanAttributeInfo
getConstructors
public javax.management.MBeanConstructorInfo[] getConstructors()
- Retrieve an array of OpenMBeanConstructorInfos describing each constructor
of the open mbean.
Each instance should also implement OpenMBeanConstructorInfo
getOperations
public javax.management.MBeanOperationInfo[] getOperations()
- Retrieve an array of OpenMBeanOperationInfos describing each operation
of the open mbean.
Each instance should also implement OpenMBeanOperationInfo
getNotifications
public javax.management.MBeanNotificationInfo[] getNotifications()
- Retrieve an array of MBeanNotificationInfos describing each notification
of the open mbean.
equals
public boolean equals(java.lang.Object obj)
- Compares an object for equality with the implementing class.
The object is not null
The object implements the open mbean info interface
The getClassName() methods return strings that are equal
The information objects (attributes, constructors, operations and notifications) are the equal
hashCode
public int hashCode()
- Generates a hashcode for the implementation.
The hashcode is the sum of the hashcodes for
getClassName()
java.util.HashSet(java.util.Arrays.asList(getAttributes()).hashCode()
java.util.HashSet(java.util.Arrays.asList(getConstructors()).hashCode()
java.util.HashSet(java.util.Arrays.asList(getOperations()).hashCode()
java.util.HashSet(java.util.Arrays.asList(getNotifications()).hashCode()
toString
public java.lang.String toString()
- A string representation of the open mbean info.
It is made up of
The implementing class
getClassName()
toString() for each of the info arrays
|
|||||||||
| Home >> All >> javax >> management >> [ openmbean overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC