OpenMBeanInfoSupport class describes the management
information of an open MBean: it is a subclass of javax.management.MBeanInfo , and it implements the OpenMBeanInfo interface. Note that an open MBean is
recognized as such if its getMBeanInfo() method returns an
instance of a class which implements the OpenMBeanInfo interface,
typically OpenMBeanInfoSupport.
| Modifier and Type | Field and Description |
|---|---|
| private transient Integer | |
| private transient String | |
| pack-priv static final long |
| Access | Constructor and Description |
|---|---|
| public | OpenMBeanInfoSupport(String
The fully qualified Java class name of the
open MBean described by this className, String OpenMBeanInfoSupport
instance.A human readable description of the open
MBean described by this description, OpenMBeanAttributeInfo[] OpenMBeanInfoSupport
instance.The list of exposed attributes of the
described open MBean; Must be an array of instances of a
subclass of openAttributes, OpenMBeanConstructorInfo[] MBeanAttributeInfo, typically OpenMBeanAttributeInfoSupport.The list of exposed public constructors
of the described open MBean; Must be an array of instances of a
subclass of openConstructors, OpenMBeanOperationInfo[] MBeanConstructorInfo, typically OpenMBeanConstructorInfoSupport.The list of exposed operations of the
described open MBean. Must be an array of instances of a
subclass of openOperations, MBeanNotificationInfo[] MBeanOperationInfo, typically OpenMBeanOperationInfoSupport.The list of notifications emitted by the
described open MBean. notifications)Constructs an |
| public | OpenMBeanInfoSupport(String
The fully qualified Java class name of the
open MBean described by this className, String OpenMBeanInfoSupport
instance.A human readable description of the open
MBean described by this description, OpenMBeanAttributeInfo[] OpenMBeanInfoSupport
instance.The list of exposed attributes of the
described open MBean; Must be an array of instances of a
subclass of openAttributes, OpenMBeanConstructorInfo[] MBeanAttributeInfo, typically OpenMBeanAttributeInfoSupport.The list of exposed public constructors
of the described open MBean; Must be an array of instances of a
subclass of openConstructors, OpenMBeanOperationInfo[] MBeanConstructorInfo, typically OpenMBeanConstructorInfoSupport.The list of exposed operations of the
described open MBean. Must be an array of instances of a
subclass of openOperations, MBeanNotificationInfo[] MBeanOperationInfo, typically OpenMBeanOperationInfoSupport.The list of notifications emitted by the
described open MBean. notifications, Descriptor The descriptor for the MBean. This may be null
which is equivalent to an empty descriptor. descriptor)Constructs an |
| Modifier and Type | Method and Description |
|---|---|
| private static <T> int | |
| private static MBeanAttributeInfo[] | |
| private static MBeanConstructorInfo[] | |
| public boolean | Returns: true if the specified object is equal to this
OpenMBeanInfoSupport instance.the object to be compared for equality with this
obj)OpenMBeanInfoSupport instance;Overrides javax. Implements javax. Compares the specified |
| public int | Returns: the hash code value for thisOpenMBeanInfoSupport instanceOverrides javax. Implements javax. Returns the hash code value for this |
| private static MBeanOperationInfo[] | |
| private static <T> boolean | |
| public String | Returns: a string representation of thisOpenMBeanInfoSupport instanceOverrides javax. Implements javax. Returns a string representation of this |
| myHashCode | back to summary |
|---|---|
| private transient Integer myHashCode | |
| myToString | back to summary |
|---|---|
| private transient String myToString | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID | |
| OpenMBeanInfoSupport | back to summary |
|---|---|
| public OpenMBeanInfoSupport(String className, String description, OpenMBeanAttributeInfo[] openAttributes, OpenMBeanConstructorInfo[] openConstructors, OpenMBeanOperationInfo[] openOperations, MBeanNotificationInfo[] notifications) Constructs an The
| |
| OpenMBeanInfoSupport | back to summary |
|---|---|
| public OpenMBeanInfoSupport(String className, String description, OpenMBeanAttributeInfo[] openAttributes, OpenMBeanConstructorInfo[] openConstructors, OpenMBeanOperationInfo[] openOperations, MBeanNotificationInfo[] notifications, Descriptor descriptor) Constructs an The
| |
| arraySetHash | back to summary |
|---|---|
| private static <T> int arraySetHash(T[] a) | |
| attributeArray | back to summary |
|---|---|
| private static MBeanAttributeInfo[] attributeArray(OpenMBeanAttributeInfo[] src) | |
| constructorArray | back to summary |
|---|---|
| private static MBeanConstructorInfo[] constructorArray(OpenMBeanConstructorInfo[] src) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides javax. Implements javax. Compares the specified Returns
equals method works properly for
obj parameters which are different implementations of
the OpenMBeanInfo interface.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides javax. Implements javax. Returns the hash code value for this The hash code of an This ensures that However, note that another instance of a class implementing
the As
| |
| operationArray | back to summary |
|---|---|
| private static MBeanOperationInfo[] operationArray(OpenMBeanOperationInfo[] src) | |
| sameArrayContents | back to summary |
|---|---|
| private static <T> boolean sameArrayContents(T[] a1, T[] a2) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides javax. Implements javax. Returns a string representation of this The string representation consists of the name of this class
(ie As
| |