| 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. |
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: isIs - 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 in the definition of this attribute. |
MBeanAttributeInfo | MBeanAttributeInfo(MBeanAttributeInfo mbeanAttributeInfo)(Code) | | Package-private duplicate constructor.
This must isolate the new object from any changes to the mbeanAttributeInfo object.
|
clone | public Object clone()(Code) | | Creates and returns a copy of this object.
|
getType | public String getType()(Code) | | Returns the class name of the attribute.
|
isIs | public boolean isIs()(Code) | | Indicates if this attribute has an "is" getter
|
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 to, false otherwise. |
|
|