The update method does work. You do not need to explicitly stop the
bundle yourself first: if the bundle is active before the update, then
the framework will automatically stop it, and then restart it after the
update is complete.
If this is not working for you then please describe in more detail what
behaviour you're seeing, versus what you expected to see.
Regards,
Neil
Thierry Templier wrote:
Hello,
I install bundles using the installBundle method if the BundleContext
class. It works fine and after having started them, they are
available within the Felix container. I want then to update them using
the update method of the Bundle interface and it
unfortunately doesn't work.
I read the OSGi specification and it says that we need to stop the
bundle before updating it and start it again then. But I have
the same behovior. Calling the update method seems to work but the
bundle isn't actually updated.
What is the correct way to manage bundles using th OSGi API.
Thanks for your help.
Thierry
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]