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 ... ?
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.