|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.management.MBeanFeatureInfo (src) javax.management.MBeanAttributeInfo
Represents a management attribute in an MBeans' management interface.
MBeanInfo
(src) ,
Serialized FormField Summary |
Fields inherited from class javax.management.MBeanFeatureInfo (src) |
description, name |
Constructor Summary | |
MBeanAttributeInfo(java.lang.String name,
java.lang.String description,
java.lang.reflect.Method getter,
java.lang.reflect.Method setter)
Creates an MBean attribute info object using the given accessor methods. |
|
MBeanAttributeInfo(java.lang.String name,
java.lang.String type,
java.lang.String description,
boolean isReadable,
boolean isWritable,
boolean isIs)
Creates an MBean attribute info object. |
Method Summary | |
java.lang.Object |
clone()
Creates a copy of this object. |
boolean |
equals(java.lang.Object object)
|
java.lang.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. |
java.lang.String |
toString()
|
Methods inherited from class javax.management.MBeanFeatureInfo (src) |
getDescription, getName |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MBeanAttributeInfo(java.lang.String name, java.lang.String type, java.lang.String description, boolean isReadable, boolean isWritable, boolean isIs) throws java.lang.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
java.lang.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(java.lang.String name, java.lang.String description, java.lang.reflect.Method getter, java.lang.reflect.Method setter) throws IntrospectionException (src)
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 (src)
- if the accessor methods are not valid for the attributeMethod Detail |
public java.lang.Object clone()
public java.lang.String getType()
public boolean isReadable()
public boolean isWritable()
public boolean isIs()
public boolean equals(java.lang.Object object)
equals
in class MBeanFeatureInfo (src)
public int hashCode()
hashCode
in class MBeanFeatureInfo (src)
public java.lang.String toString()
toString
in class MBeanFeatureInfo (src)
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |