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

Fields inherited from class javax.management.MBeanAttributeInfo
NO_ATTRIBUTES
 
Fields inherited from class javax.management.MBeanFeatureInfo
description, name
 
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.
 
Method Summary
 OpenMBeanAttributeInfo[] getAttributeInfo()
          Returns the OpenMBeanAttributeInfo array which describes the the attributes present in the composite data.
 
Methods inherited from class javax.jmx.openmbean.OpenMBeanAttributeInfo
getDefaultValue, getLegalValues
 
Methods inherited from class javax.management.MBeanAttributeInfo
, clone, equals, getType, hashCode, isIs, isReadable, isWritable, 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

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 attribute
type - The type or class name of the attribute
description - 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.
Method Detail

getAttributeInfo

public OpenMBeanAttributeInfo[] getAttributeInfo()
Returns the OpenMBeanAttributeInfo array which describes the the attributes present in the composite data.
Returns:
the OpenMBeanAttributeInfo array.