| java.lang.Object javax.management.MBeanFeatureInfo javax.management.MBeanAttributeInfo
All known Subclasses: javax.management.modelmbean.ModelMBeanAttributeInfo, javax.management.openmbean.OpenMBeanAttributeInfoSupport,
Constructor Summary | |
public | MBeanAttributeInfo(String name, String type, String description, boolean isReadable, boolean isWritable, boolean isIs) Creates an MBean attribute info object. | public | MBeanAttributeInfo(String name, String description, Method getter, Method setter) Creates an MBean attribute info object using the given accessor methods.
Parameters: name - Name of the attribute. Parameters: description - Human readable description string of the attribute's type. Parameters: getter - The attribute's read accessor. |
Method Summary | |
public synchronized Object | clone() Creates a copy of this object. | public boolean | equals(Object object) | public String | getType() Returns the type string of this attribute. | public int | hashCode() | public boolean | isIs() If the attribute is using the boolean isAttributeName naming convention
for its read accessor. | public boolean | isReadable() If the attribute is readable. | public boolean | isWritable() If the attribute is writable. | public String | toString() |
MBeanAttributeInfo | public MBeanAttributeInfo(String name, String type, String description, boolean isReadable, boolean isWritable, boolean isIs) throws IllegalArgumentException(Code) | | Creates an MBean attribute info object.
Parameters: name - name of the attribute Parameters: type - the fully qualified class name of the attribute's type Parameters: description - human readable description string of the attribute Parameters: isReadable - if attribute is readable Parameters: isWritable - if attribute is writable Parameters: isIs - if attribute is using the boolean isAttributeName naming convention for its getter method exception: IllegalArgumentException - for a true isIs with a non boolean type or the type is not a validjava type or it is a reserved word |
MBeanAttributeInfo | public MBeanAttributeInfo(String name, String description, Method getter, Method setter) throws IntrospectionException(Code) | | Creates an MBean attribute info object using the given accessor methods.
Parameters: name - Name of the attribute. Parameters: description - Human readable description string of the attribute's type. Parameters: getter - The attribute's read accessor. May be null if the attribute is write-only. Parameters: setter - The attribute's write accessor. May be null if the attribute is read-only. throws: IntrospectionException - if the accessor methods are not valid for the attribute |
clone | public synchronized Object clone()(Code) | | Creates a copy of this object.
clone of this object |
getType | public String getType()(Code) | | Returns the type string of this attribute.
fully qualified class name of the attribute's type |
hashCode | public int hashCode()(Code) | | |
isIs | public boolean isIs()(Code) | | If the attribute is using the boolean isAttributeName naming convention
for its read accessor.
true if using isAttributeName getter; false otherwise |
isReadable | public boolean isReadable()(Code) | | If the attribute is readable.
true if attribute is readable; false otherwise |
isWritable | public boolean isWritable()(Code) | | If the attribute is writable.
true if attribute is writable; false otherwise |
|
|