Uses of Interface javax.management.openmbean.CompositeData (Java Platform SE 8 )
Date: 2026-04-17

## Uses of Interface
javax.management.openmbean.CompositeData

- Packages that use CompositeData
  Package | Description
  --- | ---
  java.lang.management | Provides the management interfaces for monitoring and management of the Java virtual machine and other components in the Java runtime.
  javax.management.openmbean | Provides the open data types and Open MBean descriptor classes.

- - ### Uses of CompositeData in java.lang.management

    Methods in java.lang.management with parameters of type CompositeData
    Modifier and Type | Method and Description
    --- | ---
    `static MemoryNotificationInfo` | MemoryNotificationInfo.`from(CompositeData cd)` Returns a `MemoryNotificationInfo` object represented by the given `CompositeData`.
    `static MonitorInfo` | MonitorInfo.`from(CompositeData cd)` Returns a `MonitorInfo` object represented by the given `CompositeData`.
    `static ThreadInfo` | ThreadInfo.`from(CompositeData cd)` Returns a `ThreadInfo` object represented by the given `CompositeData`.
    `static MemoryUsage` | MemoryUsage.`from(CompositeData cd)` Returns a `MemoryUsage` object represented by the given `CompositeData`.
    `static LockInfo` | LockInfo.`from(CompositeData cd)` Returns a `LockInfo` object represented by the given `CompositeData`.

  - ### Uses of CompositeData in javax.management.openmbean

    Classes in javax.management.openmbean that implement CompositeData
    Modifier and Type | Class and Description
    --- | ---
    `class` | `CompositeDataSupport` The `CompositeDataSupport` class is the open data class which implements the `CompositeData` interface.

    Methods in javax.management.openmbean that return CompositeData
    Modifier and Type | Method and Description
    --- | ---
    `CompositeData` | TabularDataSupport.`get(Object[] key)` Returns the `CompositeData` value whose index is key, or `null` if there is no value mapping to key, in this `TabularData` instance.
    `CompositeData` | TabularData.`get(Object[] key)` Returns the `CompositeData` value whose index is key, or `null` if there is no value mapping to key, in this `TabularData` instance.
    `CompositeData` | CompositeDataInvocationHandler.`getCompositeData()` Return the `CompositeData` that was supplied to the constructor.
    `CompositeData` | TabularDataSupport.`remove(Object[] key)` Removes the `CompositeData` value whose index is key from this `TabularData` instance, and returns the removed value, or returns `null` if there is no value whose index is key.
    `CompositeData` | TabularData.`remove(Object[] key)` Removes the `CompositeData` value whose index is key from this `TabularData` instance, and returns the removed value, or returns `null` if there is no value whose index is key.
    `CompositeData` | CompositeDataView.`toCompositeData(CompositeType ct)` Return a `CompositeData` corresponding to the values in this object.

    Methods in javax.management.openmbean with parameters of type CompositeData
    Modifier and Type | Method and Description
    --- | ---
    `Object[]` | TabularDataSupport.`calculateIndex(CompositeData value)` Calculates the index that would be used in this `TabularData` instance to refer to the specified composite data value parameter if it were added to this instance.
    `Object[]` | TabularData.`calculateIndex(CompositeData value)` Calculates the index that would be used in this `TabularData` instance to refer to the specified composite data value parameter if it were added to this instance.
    `boolean` | TabularDataSupport.`containsValue(CompositeData value)` Returns `true` if and only if this `TabularData` instance contains the specified `CompositeData` value.
    `boolean` | TabularData.`containsValue(CompositeData value)` Returns `true` if and only if this `TabularData` instance contains the specified `CompositeData` value.
    `void` | TabularDataSupport.`put(CompositeData value)`
    `void` | TabularData.`put(CompositeData value)` Adds value to this `TabularData` instance.
    `void` | TabularDataSupport.`putAll(CompositeData[] values)` Add all the elements in values to this `TabularData` instance.
    `void` | TabularData.`putAll(CompositeData[] values)` Add all the elements in values to this `TabularData` instance.

    Constructors in javax.management.openmbean with parameters of type CompositeData
    Constructor and Description
    `CompositeDataInvocationHandler(CompositeData compositeData)` Construct a handler backed by the given `CompositeData`.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.