Uploaded image for project: 'Aries'
  1. Aries
  2. ARIES-782

AbstractCompendiumHandler uses ServiceTracker.getTrackingCount in the wrong way

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.3
    • 0.4, blueprint-core-0.3.2
    • JMX
    • None

    Description

      The AbstractCompendiumHandler.addingService calls the ServiceTracker.getTrackingCount() to obviously check the number of services registered under the same name. Of course, for Compendium services, the framework is assumed to only have one (though, I am not sure, whether JMX should really be picky here...)

      The problem is that getTrackingCount really is a counter for the service changes and is incremented on each service event. As such this counter cannot be used to get the number of tracked services.

      Attachments

        1. ARIES-782.patch
          1 kB
          Felix Meschberger

        Activity

          People

            fmeschbe Felix Meschberger
            fmeschbe Felix Meschberger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: