Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6196560

Move Descriptor support from ModelMBean*Info to MBean*Info

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: core-svc
    • Labels:
      None

      Description

      One of the key features of Model MBeans is the ability to include
      extra metadata in the ModelMBeanInfo and related classes
      (ModelMBeanAttributeInfo etc) via a Descriptor parameter to those
      classes' constructors. It was originally envisaged that Descriptors
      would be more generally useful than just for Model MBeans, which is
      why the Descriptor interface is in javax.management rather than
      javax.management.modelmbean. It would be very useful to allow
      Descriptors to be supplied for other types of MBeans, for example:
      - to indicate that an attribute or operation is "disabled" (see
        bug 4786777));
      - to provide additional information about an attribute that is
        a metric, for example its units, minimum and maximum values, whether
        it is an instantaneous value or is sampled across a period, etc.;
      - to specify that the value of an attribute is constant for a given
        MBean instance;
      - ...and it is the same as a named property in the MBean's ObjectName
      ###@###.### 2004-11-17 13:17:01 GMT

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                emcmanus Eamonn McManus
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: