felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall (JIRA)" <j...@apache.org>
Subject [jira] Closed: (FELIX-1244) Add support for ServiceEvent.MODIFIED_ENDMATCH
Date Fri, 26 Jun 2009 15:09:07 GMT

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

Richard S. Hall closed FELIX-1244.

    Resolution: Fixed

Simplified the implementation by performing double evaluations of the filter in cases of a
miss on MODIFIED. Since MODIFIED events aren't too common, I don't think this will be too
big of a performance penalty.

> Add support for ServiceEvent.MODIFIED_ENDMATCH
> ----------------------------------------------
>                 Key: FELIX-1244
>                 URL: https://issues.apache.org/jira/browse/FELIX-1244
>             Project: Felix
>          Issue Type: New Feature
>          Components: Framework, Specification compliance
>    Affects Versions: felix-1.8.0
>            Reporter: Richard S. Hall
>            Assignee: Richard S. Hall
>             Fix For: felix-2.0.0
> The OSGi R4.2 specification introduces a new ServiceEvent type MODIFIED_ENDMATCH. It
allows service listeners to be notified about when a previously matching service stops matching
the listener's service filter due to the registering bundle changing the service properties.
This is necessary for situations, like the ServiceTracker, where you want to stop tracking
a service when it no longer matches a listener's filter, but in the current situation the
listener would not be notified with a MODIFIED event if the new properties no longer matched
the listener's filter.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message