aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (Resolved) (JIRA)" <>
Subject [jira] [Resolved] (ARIES-782) AbstractCompendiumHandler uses ServiceTracker.getTrackingCount in the wrong way
Date Thu, 05 Jan 2012 10:27:39 GMT


Felix Meschberger resolved ARIES-782.

       Resolution: Fixed
    Fix Version/s: 0.4

Applied the patch in Rev. 1227542
> AbstractCompendiumHandler uses ServiceTracker.getTrackingCount in the wrong way
> -------------------------------------------------------------------------------
>                 Key: ARIES-782
>                 URL:
>             Project: Aries
>          Issue Type: Bug
>          Components: JMX
>    Affects Versions: 0.3
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: 0.4
>         Attachments: ARIES-782.patch
> 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.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message