-
MBeanAttributeInfo
public MBeanAttributeInfopublic MBeanAttributeInfo(String name,
String type,
String description,
boolean isReadable,
boolean isWritable,
boolean isIs,
Descriptor descriptor)
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 isIs is true but isReadable is not, or if isIs is true and type is not boolean or java.lang.Boolean . (New code should always use boolean rather than java.lang.Boolean .)
-
Since:
- 1.6
|
-
MBeanAttributeInfo
public MBeanAttributeInfo(String name,
String type,
String description,
boolean isReadable,
boolean isWritable,
boolean isIs,
Descriptor descriptor)
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 isIs is true but isReadable is not, or if isIs is true and type is not boolean or java.lang.Boolean . (New code should always use boolean rather than java.lang.Boolean .)
-
Since:
- 1.6
|
-
MBeanAttributeInfo
public MBeanAttributeInfo(String name,
String type,
String description,
boolean isReadable,
boolean isWritable,
boolean isIs,
Descriptor descriptor)
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 isIs is true but isReadable is not, or if isIs is true and type is not boolean or java.lang.Boolean . (New code should always use boolean rather than java.lang.Boolean .)
-
Since:
- 1.6
|
|