Constructs an
MBeanAttributeInfo
object.
Parameters:
-
name - The name of the attribute.
-
type - The type or class name of the attribute.
-
description - A human readable description of the attribute.
-
isReadable - True if the attribute has a getter method, false otherwise.
-
isWritable - True if the attribute has a setter method, false otherwise.
-
isIs - True if this attribute has an "is" getter, false otherwise.
-
descriptor - The descriptor for the attribute. This may be null
which is equivalent to an empty descriptor.
Throws:
-
IllegalArgumentException - if {@code isIs} is true but
{@code isReadable} is not, or if {@code isIs} is true and
{@code type} is not {@code boolean} or {@code java.lang.Boolean}.
(New code should always use {@code boolean} rather than
{@code java.lang.Boolean}.)
Since:
1.6