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]