1 Reply Latest reply on Feb 3, 2004 7:08 AM by gmccreath

    Listener removal on Broadcaster dereg

    gmccreath

      Hi All,

      Does the MBean server automatically remove all references to NotificationListener objects from a NotificationBroadcaster when the NotificationBroadcaster MBean is deregistered?

      What about when the NotificationListener is deregistered?

      ... or do I have to track this myself ... ?

      Greg.

        • 1. Re: Listener removal on Broadcaster dereg
          gmccreath

          Answer is ...

          Yes, the MBean server will remove the NotificationListener listener entries from a NotificationBroadcaster on deregistration of that NotificationBroadcaster.

          If the NotificationListener is deregistered, is it *not* removed from any listener entries of NotificationBroadcasters that have it registered as a listener.

          G.