Hello
You can have a list of current bundles and theirs states from the 
BundleContextThen you can make any operation from your bundle.You can access 
the bundle context from the Activator class
 

    Le Mercredi 10 février 2016 16h20, Hubert Felber <[email protected]> 
a écrit :
 
 

 Hi,

I would like to send a stop to a service running in another bundle ?
Can this be done?

Explanation:

Service B in Bundle B has a dependency on Service A in Bundle A , so B
will  stop  a f t e r  service A stopped. Service A knows the service B
.
I want to stop service B as soon as service A reveceives a stop and  b
e f o r e  service A has finally stopped , not after.

Is there a way?

Thank you
Regards 
Hubert


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



 
  

Reply via email to