I am trying to understand what guarantees are provided for official events.
The OSGi specification says that ServiceEvents are synchronous, I used this to mean that the ServiceListener will not receive a serviceChanged () call with UNREGISTERING ServiceEvent until the serviceChanged () call with REGISTERED ServiceEvent ends. Is it correct?
I also looked at the source for ServiceTracker. He seems to be trying to deal with a situation where these two calls to serviceChanged () overlap. Is it possible?
Are there any similar guarantees when calling ServiceTrackerCustomizer?
user267399
source
share