You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Roland <wg...@ids.de> on 2013/07/11 10:19:13 UTC

Re: Context vs servicetracker vs servicelistener

Hi,
I can confirm that race conditions can occur if you use the ServiceListener.
But this can also happen with the ServiceTracker! Sometimes, the
ServiceTracker can not catch a Service even though this service is
registered. To solve the problem I use waitForService() instead of
getService().

Regards
Roland



--
View this message in context: http://apache-felix.18485.x6.nabble.com/Context-vs-servicetracker-vs-servicelistener-tp5002076p5004269.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org