[
https://issues.apache.org/jira/browse/FELIX-1244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard S. Hall reopened FELIX-1244:
------------------------------------
This solution is incorrectly holding onto ServiceRegistration objects since it
doesn't watch for unregistrations. We should probably simplify this and just do
double evaluations for MODIFIED events.
> 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.