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

## Uses of Class
javax.management.openmbean.OpenType

- Packages that use OpenType
  Package | Description
  --- | ---
  javax.management.openmbean | Provides the open data types and Open MBean descriptor classes.

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

    Subclasses of OpenType in javax.management.openmbean
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ArrayType<T>` The `ArrayType` class is the open type class whose instances describe all open data values which are n-dimensional arrays of open data values.
    `class` | `CompositeType` The `CompositeType` class is the open type class whose instances describe the types of `CompositeData` values.
    `class` | `SimpleType<T>` The `SimpleType` class is the open type class whose instances describe all open data values which are neither arrays, nor `CompositeData` values, nor `TabularData` values.
    `class` | `TabularType` The `TabularType` class is the open type class whose instances describe the types of `TabularData` values.

    Methods in javax.management.openmbean that return OpenType
    Modifier and Type | Method and Description
    --- | ---
    `OpenType<?>` | ArrayType.`getElementOpenType()` Returns the open type of element values contained in the arrays described by this `ArrayType` instance.
    `OpenType<?>` | OpenMBeanParameterInfoSupport.`getOpenType()` Returns the open type for the values of the parameter described by this `OpenMBeanParameterInfoSupport` instance.
    `OpenType<?>` | OpenMBeanAttributeInfoSupport.`getOpenType()` Returns the open type for the values of the attribute described by this `OpenMBeanAttributeInfoSupport` instance.
    `OpenType<?>` | OpenMBeanParameterInfo.`getOpenType()` Returns the open type of the values of the parameter described by this `OpenMBeanParameterInfo` instance.
    `OpenType<?>` | OpenMBeanOperationInfo.`getReturnOpenType()` Returns the open type of the values returned by the operation described by this `OpenMBeanOperationInfo` instance.
    `OpenType<?>` | OpenMBeanOperationInfoSupport.`getReturnOpenType()` Returns the open type of the values returned by the operation described by this `OpenMBeanOperationInfo` instance.
    `OpenType<?>` | CompositeType.`getType(String itemName)` Returns the open type of the item whose name is itemName, or `null` if this `CompositeType` instance does not define any item whose name is itemName.

    Methods in javax.management.openmbean with parameters of type OpenType
    Modifier and Type | Method and Description
    --- | ---
    `static <E> ArrayType<E[]>` | ArrayType.`getArrayType(OpenType<E> elementType)` Create an `ArrayType` instance in a type-safe manner.

    Constructors in javax.management.openmbean with parameters of type OpenType
    Constructor and Description
    `ArrayType(int dimension, OpenType<?> elementType)` Constructs an `ArrayType` instance describing open data values which are arrays with dimension dimension of elements whose open type is elementType.
    `CompositeType(String typeName, String description, String[] itemNames, String[] itemDescriptions, OpenType<?>[] itemTypes)` Constructs a `CompositeType` instance, checking for the validity of the given parameters.
    `OpenMBeanAttributeInfoSupport(String name, String description, OpenType<?> openType, boolean isReadable, boolean isWritable, boolean isIs)` Constructs an `OpenMBeanAttributeInfoSupport` instance, which describes the attribute of an open MBean with the specified `name`, `openType` and `description`, and the specified read/write access properties.
    `OpenMBeanAttributeInfoSupport(String name, String description, OpenType<?> openType, boolean isReadable, boolean isWritable, boolean isIs, Descriptor descriptor)` Constructs an `OpenMBeanAttributeInfoSupport` instance, which describes the attribute of an open MBean with the specified `name`, `openType`, `description`, read/write access properties, and `Descriptor`.
    `OpenMBeanAttributeInfoSupport(String name, String description, OpenType<T> openType, boolean isReadable, boolean isWritable, boolean isIs, T defaultValue)` Constructs an `OpenMBeanAttributeInfoSupport` instance, which describes the attribute of an open MBean with the specified `name`, `openType`, `description` and `defaultValue`, and the specified read/write access properties.
    `OpenMBeanAttributeInfoSupport(String name, String description, OpenType<T> openType, boolean isReadable, boolean isWritable, boolean isIs, T defaultValue, Comparable<T> minValue, Comparable<T> maxValue)` Constructs an `OpenMBeanAttributeInfoSupport` instance, which describes the attribute of an open MBean, with the specified `name`, `openType`, `description`, `defaultValue`, `minValue` and `maxValue`.
    `OpenMBeanAttributeInfoSupport(String name, String description, OpenType<T> openType, boolean isReadable, boolean isWritable, boolean isIs, T defaultValue, T[] legalValues)` Constructs an `OpenMBeanAttributeInfoSupport` instance, which describes the attribute of an open MBean with the specified `name`, `openType`, `description`, `defaultValue` and `legalValues`, and the specified read/write access properties.
    `OpenMBeanOperationInfoSupport(String name, String description, OpenMBeanParameterInfo[] signature, OpenType<?> returnOpenType, int impact)` Constructs an `OpenMBeanOperationInfoSupport` instance, which describes the operation of a class of open MBeans, with the specified `name`, `description`, `signature`, `returnOpenType` and `impact`.
    `OpenMBeanOperationInfoSupport(String name, String description, OpenMBeanParameterInfo[] signature, OpenType<?> returnOpenType, int impact, Descriptor descriptor)` Constructs an `OpenMBeanOperationInfoSupport` instance, which describes the operation of a class of open MBeans, with the specified `name`, `description`, `signature`, `returnOpenType`, `impact`, and `descriptor`.
    `OpenMBeanParameterInfoSupport(String name, String description, OpenType<?> openType)` Constructs an `OpenMBeanParameterInfoSupport` instance, which describes the parameter used in one or more operations or constructors of a class of open MBeans, with the specified `name`, `openType` and `description`.
    `OpenMBeanParameterInfoSupport(String name, String description, OpenType<?> openType, Descriptor descriptor)` Constructs an `OpenMBeanParameterInfoSupport` instance, which describes the parameter used in one or more operations or constructors of a class of open MBeans, with the specified `name`, `openType`, `description`, and `descriptor`.
    `OpenMBeanParameterInfoSupport(String name, String description, OpenType<T> openType, T defaultValue)` Constructs an `OpenMBeanParameterInfoSupport` instance, which describes the parameter used in one or more operations or constructors of a class of open MBeans, with the specified `name`, `openType`, `description` and `defaultValue`.
    `OpenMBeanParameterInfoSupport(String name, String description, OpenType<T> openType, T defaultValue, Comparable<T> minValue, Comparable<T> maxValue)` Constructs an `OpenMBeanParameterInfoSupport` instance, which describes the parameter used in one or more operations or constructors of a class of open MBeans, with the specified `name`, `openType`, `description`, `defaultValue`, `minValue` and `maxValue`.
    `OpenMBeanParameterInfoSupport(String name, String description, OpenType<T> openType, T defaultValue, T[] legalValues)` Constructs an `OpenMBeanParameterInfoSupport` instance, which describes the parameter used in one or more operations or constructors of a class of open MBeans, with the specified `name`, `openType`, `description`, `defaultValue` and `legalValues`.

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.