felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland <...@ids.de>
Subject Re: Context vs servicetracker vs servicelistener
Date Thu, 11 Jul 2013 08:19:13 GMT
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


Mime
View raw message