Hi 
 
I have a situation.
 
2 Threads are trying to install, start bundles. Thread 1 trying to install
and start bundle A. Thread 2 is trying to install and start Bundle B.
Thread 2 always starts after Bundle A.start() called. (Before start
returns).  Bundle B is dependent on Bundle A. and it requires Bundle A in
active state.
 
I want to know, is there any way i can ensure that, Bundle B will start only
after A is started?I mean can i specify this contraint? 
 
I know i can have a listner and wait for the status of the Bunlde A and then
start B. But for some reason this isnt good solution for my problem domain.
 
Pls help me.


 

Reply via email to