Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Is ServiceTracker#addingService called asynchronously ?
Is ServiceTracker#addingService called asynchronously ? [message #99314] Fri, 05 October 2007 08:19 Go to next message
Gavin Bong is currently offline Gavin BongFriend
Messages: 23
Registered: July 2009
Junior Member
The javadoc does not indicate whether ServiceTracker#addingService(..) is
called asynchronously or synchronously by the equinox
framework. It only mentions about the thread safety issue.
Anyone have a definite answer ?

Thanks

Gavin
Re: Is ServiceTracker#addingService called asynchronously ? [message #99375 is a reply to message #99314] Fri, 05 October 2007 13:58 Go to previous message
Simon Kaegi is currently offline Simon KaegiFriend
Messages: 381
Registered: July 2009
Senior Member
Synchronously.
e.g. the thread used to register the service will end up calling
ServiceTracker.addingService(...) before returning from the register call --
for the case where the tracker is already open.
HTH
-Simon
"Gavin Bong" <gavin.emploi@gmail.com> wrote in message
news:1870436428.1951191572426239.JavaMail.root@cp9.dzone.com...
> The javadoc does not indicate whether ServiceTracker#addingService(..) is
> called asynchronously or synchronously by the equinox
> framework. It only mentions about the thread safety issue.
> Anyone have a definite answer ?
>
> Thanks
>
> Gavin
Previous Topic:bootdelegation and java extension (JMF)
Next Topic:Launch Eclipse App with OSGi-Service
Goto Forum:
  


Current Time: Thu Sep 26 07:46:16 GMT 2024

Powered by FUDForum. Page generated in 0.03624 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top