|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.management.MBeanFeatureInfo javax.management.MBeanAttributeInfo
Represents a management attribute in an MBeans' management interface.
Revisions:
20020711 Adrian Brock:
MBeanInfo
,
Serialized FormField Summary |
Fields inherited from class javax.management.MBeanFeatureInfo |
description, name |
Constructor Summary | |
MBeanAttributeInfo(String name,
String description,
Method getter,
Method setter)
Creates an MBean attribute info object using the given accessor methods. |
|
MBeanAttributeInfo(String name,
String type,
String description,
boolean isReadable,
boolean isWritable,
boolean isIs)
Creates an MBean attribute info object. |
Method Summary | |
Object |
clone()
Creates a copy of this object. |
boolean |
equals(Object object)
|
String |
getType()
Returns the type string of this attribute. |
int |
hashCode()
|
boolean |
isIs()
If the attribute is using the boolean isAttributeName naming convention for its read accessor. |
boolean |
isReadable()
If the attribute is readable. |
boolean |
isWritable()
If the attribute is writable. |
String |
toString()
|
Methods inherited from class javax.management.MBeanFeatureInfo |
getDescription, getName |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MBeanAttributeInfo(String name, String type, String description, boolean isReadable, boolean isWritable, boolean isIs) throws IllegalArgumentException
name
- name of the attributetype
- the fully qualified class name of the attribute's typedescription
- human readable description string of the attributeisReadable
- if attribute is readableisWritable
- if attribute is writableisIs
- if attribute is using the boolean isAttributeName naming convention for its getter method
IllegalArgumentException
- for a true isIs with a non boolean type or the type is not a valid
java type or it is a reserved wordpublic MBeanAttributeInfo(String name, String description, Method getter, Method setter) throws IntrospectionException
name
- Name of the attribute.description
- Human readable description string of the attribute's type.getter
- The attribute's read accessor. May be null if the attribute is write-only.setter
- The attribute's write accessor. May be null if the attribute is read-only.
IntrospectionException
- if the accessor methods are not valid for the attributeMethod Detail |
public Object clone()
public String getType()
public boolean isReadable()
public boolean isWritable()
public boolean isIs()
public boolean equals(Object object)
equals
in class MBeanFeatureInfo
public int hashCode()
hashCode
in class MBeanFeatureInfo
public String toString()
toString
in class MBeanFeatureInfo
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |