aries-dev mailing list archives

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

     [ https://issues.apache.org/jira/browse/ARIES-782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Felix Meschberger reassigned ARIES-782:
---------------------------------------

    Assignee: Felix Meschberger
    
> AbstractCompendiumHandler uses ServiceTracker.getTrackingCount in the wrong way
> -------------------------------------------------------------------------------
>
>                 Key: ARIES-782
>                 URL: https://issues.apache.org/jira/browse/ARIES-782
>             Project: Aries
>          Issue Type: Bug
>          Components: JMX
>    Affects Versions: 0.3
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>         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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message