# Uses of Interface
javax.management.Descriptor

Packages that use Descriptor
Package
Description
javax.management
Provides the core classes for the Java Management Extensions.
javax.management.modelmbean
Provides the definition of the ModelMBean classes.
javax.management.openmbean
Provides the open data types and Open MBean descriptor classes.

## Uses of Descriptor in javax.management

Classes in javax.management that implement Descriptor
Modifier and Type
Class
Description
`class`
`ImmutableDescriptor`
An immutable descriptor.
Methods in javax.management that return Descriptor
Modifier and Type
Method
Description
`Descriptor`
ImmutableDescriptor.`clone()`
Returns a descriptor which is equal to this descriptor.
`Descriptor`
DescriptorRead.`getDescriptor()`
Returns a copy of Descriptor.
`Descriptor`
MBeanFeatureInfo.`getDescriptor()`
Returns the descriptor for the feature.
`Descriptor`
MBeanInfo.`getDescriptor()`
Get the descriptor of this MBeanInfo.
Methods in javax.management with parameters of type Descriptor
Modifier and Type
Method
Description
`void`
DescriptorAccess.`setDescriptor​(Descriptor inDescriptor)`
Sets Descriptor (full replace).
`static ImmutableDescriptor`
ImmutableDescriptor.`union​(Descriptor... descriptors)`
Return an `ImmutableDescriptor` whose contents are the union of the given descriptors.
Constructors in javax.management with parameters of type Descriptor
Modifier
Constructor
Description
``
`MBeanAttributeInfo​(String name, String type, String description, boolean isReadable, boolean isWritable, boolean isIs, Descriptor descriptor)`
Constructs an `MBeanAttributeInfo` object.
``
`MBeanConstructorInfo​(String name, String description, MBeanParameterInfo[] signature, Descriptor descriptor)`
Constructs an `MBeanConstructorInfo` object.
``
`MBeanFeatureInfo​(String name, String description, Descriptor descriptor)`
Constructs an `MBeanFeatureInfo` object.
``
`MBeanInfo​(String className, String description, MBeanAttributeInfo[] attributes, MBeanConstructorInfo[] constructors, MBeanOperationInfo[] operations, MBeanNotificationInfo[] notifications, Descriptor descriptor)`
Constructs an `MBeanInfo`.
``
`MBeanNotificationInfo​(String[] notifTypes, String name, String description, Descriptor descriptor)`
Constructs an `MBeanNotificationInfo` object.
``
`MBeanOperationInfo​(String name, String description, MBeanParameterInfo[] signature, String type, int impact, Descriptor descriptor)`
Constructs an `MBeanOperationInfo` object.
``
`MBeanParameterInfo​(String name, String type, String description, Descriptor descriptor)`
Constructs an `MBeanParameterInfo` object.

## Uses of Descriptor in javax.management.modelmbean

Classes in javax.management.modelmbean that implement Descriptor
Modifier and Type
Class
Description
`class`
`DescriptorSupport`
This class represents the metadata set for a ModelMBean element.
Methods in javax.management.modelmbean that return Descriptor
Modifier and Type
Method
Description
`Descriptor`
ModelMBeanAttributeInfo.`getDescriptor()`
Gets a copy of the associated Descriptor for the ModelMBeanAttributeInfo.
`Descriptor`
ModelMBeanConstructorInfo.`getDescriptor()`
Returns a copy of the associated Descriptor.
`Descriptor`
ModelMBeanInfo.`getDescriptor​(String inDescriptorName, String inDescriptorType)`
Returns a Descriptor requested by name and descriptorType.
`Descriptor`
ModelMBeanInfoSupport.`getDescriptor()`
`Descriptor`
ModelMBeanInfoSupport.`getDescriptor​(String inDescriptorName)`
Returns a Descriptor requested by name.
`Descriptor`
ModelMBeanInfoSupport.`getDescriptor​(String inDescriptorName, String inDescriptorType)`
`Descriptor`
ModelMBeanNotificationInfo.`getDescriptor()`
Returns a copy of the associated Descriptor for the ModelMBeanNotificationInfo.
`Descriptor`
ModelMBeanOperationInfo.`getDescriptor()`
Returns a copy of the associated Descriptor of the ModelMBeanOperationInfo.
`Descriptor[]`
ModelMBeanInfo.`getDescriptors​(String inDescriptorType)`
Returns a Descriptor array consisting of all Descriptors for the ModelMBeanInfo of type inDescriptorType.
`Descriptor[]`
ModelMBeanInfoSupport.`getDescriptors​(String inDescriptorType)`
`Descriptor`
ModelMBeanInfo.`getMBeanDescriptor()`
Returns the ModelMBean's descriptor which contains MBean wide policies.
`Descriptor`
ModelMBeanInfoSupport.`getMBeanDescriptor()`
Methods in javax.management.modelmbean with parameters of type Descriptor
Modifier and Type
Method
Description
`void`
ModelMBeanAttributeInfo.`setDescriptor​(Descriptor inDescriptor)`
Sets associated Descriptor (full replace) for the ModelMBeanAttributeDescriptor.
`void`
ModelMBeanConstructorInfo.`setDescriptor​(Descriptor inDescriptor)`
Sets associated Descriptor (full replace) of ModelMBeanConstructorInfo.
`void`
ModelMBeanInfo.`setDescriptor​(Descriptor inDescriptor, String inDescriptorType)`
Sets descriptors in the info array of type inDescriptorType for the ModelMBean.
`void`
ModelMBeanInfoSupport.`setDescriptor​(Descriptor inDescriptor, String inDescriptorType)`
`void`
ModelMBeanNotificationInfo.`setDescriptor​(Descriptor inDescriptor)`
Sets associated Descriptor (full replace) for the ModelMBeanNotificationInfo If the new Descriptor is null, then the associated Descriptor reverts to a default descriptor.
`void`
ModelMBeanOperationInfo.`setDescriptor​(Descriptor inDescriptor)`
Sets associated Descriptor (full replace) for the ModelMBeanOperationInfo If the new Descriptor is null, then the associated Descriptor reverts to a default descriptor.
`void`
ModelMBeanInfo.`setDescriptors​(Descriptor[] inDescriptors)`
Adds or replaces descriptors in the ModelMBeanInfo.
`void`
ModelMBeanInfoSupport.`setDescriptors​(Descriptor[] inDescriptors)`
`void`
ModelMBeanInfo.`setMBeanDescriptor​(Descriptor inDescriptor)`
Sets the ModelMBean's descriptor.
`void`
ModelMBeanInfoSupport.`setMBeanDescriptor​(Descriptor inMBeanDescriptor)`
Constructors in javax.management.modelmbean with parameters of type Descriptor
Modifier
Constructor
Description
``
`ModelMBeanAttributeInfo​(String name, String description, Method getter, Method setter, Descriptor descriptor)`
Constructs a ModelMBeanAttributeInfo object.
``
`ModelMBeanAttributeInfo​(String name, String type, String description, boolean isReadable, boolean isWritable, boolean isIs, Descriptor descriptor)`
Constructs a ModelMBeanAttributeInfo object.
``
`ModelMBeanConstructorInfo​(String description, Constructor<?> constructorMethod, Descriptor descriptor)`
Constructs a ModelMBeanConstructorInfo object.
``
`ModelMBeanConstructorInfo​(String name, String description, MBeanParameterInfo[] signature, Descriptor descriptor)`
Constructs a ModelMBeanConstructorInfo object.
``
`ModelMBeanInfoSupport​(String className, String description, ModelMBeanAttributeInfo[] attributes, ModelMBeanConstructorInfo[] constructors, ModelMBeanOperationInfo[] operations, ModelMBeanNotificationInfo[] notifications, Descriptor mbeandescriptor)`
Creates a ModelMBeanInfoSupport with the provided information and the descriptor given in parameter.
``
`ModelMBeanNotificationInfo​(String[] notifTypes, String name, String description, Descriptor descriptor)`
Constructs a ModelMBeanNotificationInfo object.
``
`ModelMBeanOperationInfo​(String description, Method operationMethod, Descriptor descriptor)`
Constructs a ModelMBeanOperationInfo object.
``
`ModelMBeanOperationInfo​(String name, String description, MBeanParameterInfo[] signature, String type, int impact, Descriptor descriptor)`
Constructs a ModelMBeanOperationInfo object.

## Uses of Descriptor in javax.management.openmbean

Constructors in javax.management.openmbean with parameters of type Descriptor
Modifier
Constructor
Description
``
`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`.
``
`OpenMBeanConstructorInfoSupport​(String name, String description, OpenMBeanParameterInfo[] signature, Descriptor descriptor)`
Constructs an `OpenMBeanConstructorInfoSupport` instance, which describes the constructor of a class of open MBeans with the specified `name`, `description`, `signature`, and `descriptor`.
``
`OpenMBeanInfoSupport​(String className, String description, OpenMBeanAttributeInfo[] openAttributes, OpenMBeanConstructorInfo[] openConstructors, OpenMBeanOperationInfo[] openOperations, MBeanNotificationInfo[] notifications, Descriptor descriptor)`
Constructs an `OpenMBeanInfoSupport` instance, which describes a class of open MBeans with the specified `className`, `description`, `openAttributes`, `openConstructors` , `openOperations`, `notifications`, and `descriptor`.
``
`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, 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`.