Hi all,

 
I'd like to know if ServiceListeners/ServiceTracker are called synchronously 
called during the service registration process. The specification says 
(10.1.26):

"When a ServiceEvent is fired, it is synchronously delivered to a 
ServiceListener. The

Framework may deliver ServiceEvent objects to a ServiceListener out of order 
and may concurrently

call and/or reenter a ServiceListener."

 
So the decision how to deliver events is up to the implementation?

 
In my use case I register an EventHandler as a service.

I need to know when the registration method terminates if the EventHandler is 
already tracked by the EventAdmin and is ready to receive Events.

 
Thanks and best regards, Andreas

 
 
-- 
phone:  +49 221 222896 - 24
fax:   +49 221 222896 - 11
email: [email protected] <mailto:[email protected]> 

--------------------------------
n - d e s i g n   G m b H 
www.n-design.de

Alpenerstr. 16
D-50825 Köln

Amtsgericht Köln HRB 33766 B
Geschäftsführer Andy Kohl

 
 
<http://ea.sendcockpit.net/_s.php?&amp;fid=19878&amp;fpw=d44e1b06d576c366a1b94b9bf8218761>
 Verpassen Sie zukünftig keine wichtigen Neuigkeiten mehr zum Thema 
Softwareentwicklung, moderne Technologien und eHealth sowie zu unserem 
Unternehmen n-design! Der kostenlose vierteljährliche n-design Newsletter 
informiert Sie! Zum Anmeldeformular 
<http://ea.sendcockpit.net/_s.php?&amp;fid=19878&amp;fpw=d44e1b06d576c366a1b94b9bf8218761>
 

 <http://www.n-design.de/index.php/blog.html> Wie wäre es mit ,,n-design zum 
Mitmachen"? Besuchen Sie unseren spannenden Blog 
<http://www.n-design.de/index.php/blog.html> . Wir freuen uns auf Ihre 
Kommentare!

Vernetzen Sie sich noch heute mit uns auf XING 
<http://www.xing.com/companies/n-designgmbh> !

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

Reply via email to