If I create an EventSubscriber and use it to subscribe to MBeans, then each subscription causes a listener to be added to those MBeans and this listener references the EventSubscriber. That means that when I am finished using the EventSubscriber I must explicitly cancel all subscriptions if I want the EventSubscriber to be discarded. That's unpleasant, especially since there's no method to enumerate the subscriptions.

            sjiang Shanliang Jiang (Inactive)
            emcmanus Eamonn McManus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: