Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
framework-1.8.0
-
None
Description
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.