Constructs an OpenMBeanInfoSupport instance, which
describes a class of open MBeans with the specified className, description, openAttributes, openConstructors , openOperations, notifications, and descriptor.
The openAttributes, openConstructors, openOperations and notifications array parameters are
internally copied, so that subsequent changes to the arrays
referenced by these parameters have no effect on this
instance.
Parameters:
-
className - The fully qualified Java class name of the
open MBean described by this
OpenMBeanInfoSupport
instance.
-
description - A human readable description of the open
MBean described by this
OpenMBeanInfoSupport
instance.
-
openAttributes - The list of exposed attributes of the
described open MBean; Must be an array of instances of a
subclass of {@code MBeanAttributeInfo}, typically {@code
OpenMBeanAttributeInfoSupport}.
-
openConstructors - The list of exposed public constructors
of the described open MBean; Must be an array of instances of a
subclass of {@code MBeanConstructorInfo}, typically {@code
OpenMBeanConstructorInfoSupport}.
-
openOperations - The list of exposed operations of the
described open MBean. Must be an array of instances of a
subclass of {@code MBeanOperationInfo}, typically {@code
OpenMBeanOperationInfoSupport}.
-
notifications - The list of notifications emitted by the
described open MBean.
-
descriptor - The descriptor for the MBean. This may be null
which is equivalent to an empty descriptor.
Throws:
-
ArrayStoreException - If {@code openAttributes}, {@code
openConstructors} or {@code openOperations} is not an array of
instances of a subclass of {@code MBeanAttributeInfo}, {@code
MBeanConstructorInfo} or {@code MBeanOperationInfo}
respectively.
Since:
1.6