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

addNotif/removeNotif on MBeanServerDelegate

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 1.0
    • 1.0
    • core-svc
    • None
    • 1.0
    • sparc
    • solaris_2.5.1

      When addNotificationListener is called for the first time
      to add a listener to an existing NotificationBroadcaster
      MBean from a remote client, then the client performs an
      internal addNotificationListener on the MBeanServerDelegate
      to be able to do some cleanup on MBean deletion.

      In order to keep symmetry after removing the latest user
      defined notification listener the client should internally
      call removeNotificationListener on the MBeanServerDelegate
      but it is not the case in the current implementation.

      The question that arises here is how do we make the difference
      between the user calling addNotificationListener on the MBSD
      and the connector client code invoking the same call internally?

            busersunw Btplusnull User (Inactive)
            lmalvent Luis-Miguel Alventosa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: