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

Clarify what EventClient.getEventClientNotificationInfo does

    Details

    • Subcomponent:
    • Resolved In Build:
      b40
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      As of JDK 7 b37 the EventClient method getEventClientNotificationInfo is documented that way:

          Get the types of notification that an EventClient can send to listeners added with addEventClientListener.

          Returns:
              Types of notification emitted by this EventClient.
          See Also:
              FAILED, NONFATAL, NOTIFS_LOST

      When you print the sole entry present in the returned array you read:

      javax.management.MBeanNotificationInfo[description=, name=javax.management.Notification, notifTypes=[jmx.event.service.failed, jmx.event.service.notifs.lost]]

      1. ==> why only 2 values for notifTypes as apparently 3 are possible ? Is it a documentation issue ? an implementation one ? did I miss something ?
      2. ==> why an empty description ? I've the feeling an high level sentence is worth reading.

        Attachments

          Activity

            People

            • Assignee:
              emcmanus Eamonn McManus
              Reporter:
              yjoan Yves Joan (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: