Uses of Class javax.management.Attribute (Java Platform SE 8 )
Date: 2026-01-21

## Uses of Class
javax.management.Attribute

- Packages that use Attribute
  Package | Description
  --- | ---
  javax.management | Provides the core classes for the Java Management Extensions.
  javax.management.modelmbean | Provides the definition of the ModelMBean classes.

- - ### Uses of Attribute in javax.management

    Methods in javax.management that return types with arguments of type Attribute
    Modifier and Type | Method and Description
    --- | ---
    `List<Attribute>` | AttributeList.`asList()` Return a view of this list as a `List<Attribute>`.

    Methods in javax.management with parameters of type Attribute
    Modifier and Type | Method and Description
    --- | ---
    `void` | AttributeList.`add(Attribute object)` Adds the `Attribute` specified as the last element of the list.
    `void` | AttributeList.`add(int index, Attribute object)` Inserts the attribute specified as an element at the position specified.
    `void` | AttributeList.`set(int index, Attribute object)` Sets the element at the position specified to be the attribute specified.
    `void` | StandardMBean.`setAttribute(Attribute attribute)`
    `void` | DynamicMBean.`setAttribute(Attribute attribute)` Set the value of a specific attribute of the Dynamic MBean.
    `void` | MBeanServerConnection.`setAttribute(ObjectName name, Attribute attribute)` Sets the value of a specific attribute of a named MBean.
    `void` | MBeanServer.`setAttribute(ObjectName name, Attribute attribute)`

    Constructor parameters in javax.management with type arguments of type Attribute
    Constructor and Description
    `AttributeList(List<Attribute> list)` Constructs an `AttributeList` containing the elements of the `List` specified, in the order in which they are returned by the `List`'s iterator.

  - ### Uses of Attribute in javax.management.modelmbean

    Methods in javax.management.modelmbean with parameters of type Attribute
    Modifier and Type | Method and Description
    --- | ---
    `void` | RequiredModelMBean.`sendAttributeChangeNotification(Attribute inOldVal, Attribute inNewVal)`
    `void` | ModelMBeanNotificationBroadcaster.`sendAttributeChangeNotification(Attribute oldValue, Attribute newValue)` Sends an attributeChangeNotification which contains the old value and new value for the attribute to the registered AttributeChangeNotification listeners on the ModelMBean.
    `void` | RequiredModelMBean.`setAttribute(Attribute attribute)` Sets the value of a specific attribute of a named ModelMBean.

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.