I think this would have solved my problem.Since In my case I have the right to chose startup order.
But problem is I have to specify start level order in Manifest file. (Not programatically) . Is there is any way I can specify this in Manifest file? AFAIK it is not possible. But I feel start level is also best candidate to become a property in Manifest file. Why it is missed? Regards Nasir -----Original Message----- From: Richard S. Hall [mailto:[email protected]] Sent: Wednesday, April 14, 2010 6:39 PM To: [email protected] Subject: Re: How to solve Startup dependency You can install bundle B into a higher start level, but you'd probably be better off not making it brittle like this. -> richard On 4/14/10 5:49, Mahammad Nasir wrote: > 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. > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

