Modifier and Type | Field and Description |
---|---|
private final String | |
private final boolean | |
private final boolean | |
private final boolean | |
pack-priv static final MBeanAttributeInfo[] | |
private static final long |
Access | Constructor and Description |
---|---|
public | MBeanAttributeInfo(String
The name of the attribute. name, String The type or class name of the attribute. type, String A human readable description of the attribute. description, boolean True if the attribute has a getter method, false otherwise. isReadable, boolean True if the attribute has a setter method, false otherwise. isWritable, boolean True if this attribute has an "is" getter, false otherwise. isIs)Constructs an |
public | MBeanAttributeInfo(String
The name of the attribute. name, String The type or class name of the attribute. type, String A human readable description of the attribute. description, boolean True if the attribute has a getter method, false otherwise. isReadable, boolean True if the attribute has a setter method, false otherwise. isWritable, boolean True if this attribute has an "is" getter, false otherwise. isIs, Descriptor The descriptor for the attribute. This may be null
which is equivalent to an empty descriptor. descriptor)Constructs an |
public | MBeanAttributeInfo(String
The programmatic name of the attribute. name, String A human readable description of the attribute. description, Method The method used for reading the attribute value.
May be null if the property is write-only. getter, Method The method used for writing the attribute value.
May be null if the attribute is read-only. setter)This constructor takes the name of a simple attribute, and Method objects for reading and writing the attribute. |
Modifier and Type | Method and Description |
---|---|
private static String | |
public Object | |
public boolean | Returns: true if and only ifo is an MBeanAttributeInfo such
that its getName() , getType() , getDescription() , isReadable() , isWritable() , and isIs() values are equal (not
necessarily identical) to those of this MBeanAttributeInfo.the object to compare to. o)Overrides javax. Compare this MBeanAttributeInfo to another. |
public String | |
public int | hashCode()
Overrides javax. Returns a hash code value for this object. |
public boolean | Returns: true if this attribute has an "is" getter.Indicates if this attribute has an "is" getter. |
private static boolean | |
public boolean | Returns: True if the attribute can be read, false otherwise.Whether the value of the attribute can be read. |
public boolean | Returns: True if the attribute can be written to, false otherwise.Whether new values can be written to the attribute. |
public String |
attributeType | back to summary |
---|---|
private final String attributeType |
is | back to summary |
---|---|
private final boolean is |
isRead | back to summary |
---|---|
private final boolean isRead |
isWrite | back to summary |
---|---|
private final boolean isWrite |
NO_ATTRIBUTES | back to summary |
---|---|
pack-priv static final MBeanAttributeInfo[] NO_ATTRIBUTES |
serialVersionUID | back to summary |
---|---|
private static final long serialVersionUID |
MBeanAttributeInfo | back to summary |
---|---|
public MBeanAttributeInfo(String name, String type, String description, boolean isReadable, boolean isWritable, boolean isIs) Constructs an
|
MBeanAttributeInfo | back to summary |
---|---|
public MBeanAttributeInfo(String name, String type, String description, boolean isReadable, boolean isWritable, boolean isIs, Descriptor descriptor) Constructs an
|
MBeanAttributeInfo | back to summary |
---|---|
public MBeanAttributeInfo(String name, String description, Method getter, Method setter) throws IntrospectionException This constructor takes the name of a simple attribute, and Method
objects for reading and writing the attribute. The
|
attributeType | back to summary |
---|---|
private static String attributeType(Method getter, Method setter) throws IntrospectionException Finds the type of the attribute. |
clone | back to summary |
---|---|
public Object clone() Overrides java. Returns a shallow clone of this instance.
The clone is obtained by simply calling Since this class is immutable, cloning is chiefly of interest to subclasses.
|
equals | back to summary |
---|---|
public boolean equals(Object o) Overrides javax. Compare this MBeanAttributeInfo to another.
|
getType | back to summary |
---|---|
public String getType() Returns the class name of the attribute.
|
hashCode | back to summary |
---|---|
public int hashCode() Overrides javax. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
|
isIs | back to summary |
---|---|
public boolean isIs() Indicates if this attribute has an "is" getter.
|
isIs | back to summary |
---|---|
private static boolean isIs(Method getter) |
isReadable | back to summary |
---|---|
public boolean isReadable() Whether the value of the attribute can be read.
|
isWritable | back to summary |
---|---|
public boolean isWritable() Whether new values can be written to the attribute.
|
toString | back to summary |
---|---|
public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
|