An example of how to do this with SAT was described here...
http://eclipse-sat.blogspot.com/2007_04_01_archive.html
Aggelos Mpimpoudis <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
07/26/2007 02:30 PM
Please respond to
OSGi Developer Mail List <[email protected]>
To
OSGi Developer Mail List <[email protected]>
cc
Subject
[osgi-dev] Service Tracking Matter
Hello, OSGi community.
Here is my question. I have an OSGi service, that I want to initialize
it's facilities only when 3 other services are added to the framework. I
construct 3 service trackers (each one for every needed service). How
can I proceed after obtaining the knowledge that the 3 services are
ready? I am thinking of keeping a map maintained and at every add and
remove of service to check map's size and only if it is of size 3, to
proceed with the thread's execution. Is this practice very naive? Is
there something more obvious that I am missing?
Thank you!
My Best Regards,
Aggelos Mpimpoudis
--
Dept. of Informatics & Telecommunications, University of Athens
Athens, Greece
Gsm: +306942075153 / Skype: aggelos.mpimpoudis
email: a.mpimpoydhs [at] di.uoa.gr
_______________________________________________
OSGi Developer Mail List
[email protected]
http://www2.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________
OSGi Developer Mail List
[email protected]
http://www2.osgi.org/mailman/listinfo/osgi-dev