| java.lang.Object javax.management.MBeanFeatureInfo javax.management.MBeanAttributeInfo
Method Summary | |
public Object | clone() Creates and returns a copy of this object. | public String | getType() Returns the class name of the attribute. | public boolean | isIs() | public boolean | isReadable() Whether the value of the attribute can be read. | public boolean | isWritable() Whether new values can be written to the attribute. | public String | toString() Returns a human readable version of the MBeanAttributeInfo instance. |
MBeanAttributeInfo | public MBeanAttributeInfo(String name, String type, String description, boolean isReadable, boolean isWritable, boolean isIs)(Code) | | Constructs an MBeanAttributeInfo object.
Parameters: name - The name of the attribute. Parameters: type - The type or class name of the attribute. Parameters: description - A human readable description of the attribute. Parameters: isReadable - True if the attribute has a getter method, false otherwise. Parameters: isWritable - True if the attribute has a setter method, false otherwise. Parameters: is - True if this attribute has an "is" getter, false otherwise. |
MBeanAttributeInfo | public MBeanAttributeInfo(String name, String description, Method getter, Method setter) throws IntrospectionException(Code) | | This constructor takes the name of a simple attribute, and Method
objects for reading and writing the attribute.
Parameters: name - The programmatic name of the attribute. Parameters: description - A human readable description of the attribute. Parameters: getter - The method used for reading the attribute value.May be null if the property is write-only. Parameters: setter - The method used for writing the attribute value.May be null if the attribute is read-only. exception: IntrospectionException - There is a consistency problem inthe definition of this attribute. |
clone | public Object clone()(Code) | | Creates and returns a copy of this object.
Creates a duplicate copy of the object |
getType | public String getType()(Code) | | Returns the class name of the attribute.
The class name is returned as String |
isIs | public boolean isIs()(Code) | | Indicates if this attribute has an "is" getter
True if the attribute has an "is" getter otherwise false |
isReadable | public boolean isReadable()(Code) | | Whether the value of the attribute can be read.
True if the attribute can be read, false otherwise. |
isWritable | public boolean isWritable()(Code) | | Whether new values can be written to the attribute.
True if the attribute can be written, false otherwise. |
toString | public String toString()(Code) | | Returns a human readable version of the MBeanAttributeInfo instance.
MBeanAttributeInfo is returned as a String |
|
|