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