Hi,

I have got a question that I could not solve looking at the specification: Is the activation and deactivation of DS components synchronized? I.e. can I be sure, that while I am in the activate method SCR will not call the deactivate method or unbind any target services? Or do I have to take care about that myself?

The use case looks like this: A component references some services. As this reference uses a static policy, the component will be deactivated and re-activated each time a matching service shows up. In my system there are several bundles providing such a service, hence at startup there happens "a lot of deactivation and activation" which of course has to be properly synchronized.

Regards,
Heiko

_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to