aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Ward (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ARIES-1024) SingleServiceTracker fails to track services properly when using a filter
Date Thu, 07 Mar 2013 11:20:15 GMT
Timothy Ward created ARIES-1024:
-----------------------------------

             Summary: SingleServiceTracker fails to track services properly when using a filter
                 Key: ARIES-1024
                 URL: https://issues.apache.org/jira/browse/ARIES-1024
             Project: Aries
          Issue Type: Bug
          Components: Util
    Affects Versions: 1.0
            Reporter: Timothy Ward
            Assignee: Timothy Ward
            Priority: Critical


The SingleServiceTracker does not work reliably when you use a filter.

Scenario:

Two services are registered with the interface Foo. The first (lower service id) has no properties,
the second (higher service id) has the property bar=baz.

I create a SingleServiceTracker with the class Foo and the filter (bar=baz). I open the SingleServiceTracker,
and attempt to get the service.

Result:
The tracker returns null, even though there is a service I could use.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message