javax.jmx.openmbean
Class CompositeAttributeInfo
java.lang.Object
|
+--javax.management.MBeanFeatureInfo
|
+--javax.management.MBeanAttributeInfo
|
+--javax.jmx.openmbean.OpenMBeanAttributeInfo
|
+--javax.jmx.openmbean.CompositeAttributeInfo
- Direct Known Subclasses:
- TabularAttributeInfo
- public class CompositeAttributeInfo
- extends OpenMBeanAttributeInfo
- implements java.io.Serializable
Describes an instance of the CompositeData class when used as an atribute type for a mbean.
- See Also:
- Serialized Form
|
Constructor Summary |
CompositeAttributeInfo(java.lang.String name,
java.lang.String type,
java.lang.String description,
boolean isReadable,
boolean isWritable,
boolean isIs,
java.lang.Object defaultValue,
java.lang.Object[] legalValues,
OpenMBeanAttributeInfo[] attributeInfo)
Constructs a CompositeAttributeInfo object. |
| Methods inherited from class java.lang.Object |
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
CompositeAttributeInfo
public CompositeAttributeInfo(java.lang.String name,
java.lang.String type,
java.lang.String description,
boolean isReadable,
boolean isWritable,
boolean isIs,
java.lang.Object defaultValue,
java.lang.Object[] legalValues,
OpenMBeanAttributeInfo[] attributeInfo)
- Constructs a CompositeAttributeInfo object.
- Parameters:
name - The name of the attributetype - The type or class name of the attributedescription - A human readable description of the attribute.isReadable - specifies whether the attribute has read permission.isWritable - specifies whether the attribute has write permission.defaultValue - The default value for the attribute.legalValues - The set of permitted values for the attribute.attributeInfo - The OpenMbeanAttributeInfo array to describe the
attributes present in the composite data.
getAttributeInfo
public OpenMBeanAttributeInfo[] getAttributeInfo()
- Returns the OpenMBeanAttributeInfo array which describes the
the attributes present in the composite data.
- Returns:
- the OpenMBeanAttributeInfo array.