Hi, A refresh does only re-wire the bundle and it's dependencies. An update will un-install install the bundle.
The refresh without any bundle id will do a rewiring of all bundles. Regards Achim sent from mobile device Am 07.03.2013 18:28 schrieb "anair" <[email protected]>: > Thank you Freeman for your response. Just to be clear, I have a few > follow-up > questions. I am asking only because I want to understand it better as I am > a > newbie to osgi and karaf. > * what is the purpose of osgi-refresh then? I know in the manual its says > that it refreshes the bundle, but I thought it would clear the cache and > reload the bundle. Also when I just type osgi:refresh without providing a > bundle id, will it refresh the entire system? > * if I use uninstall, it clears the cache. Then I do not need to use > osgi:refresh, right? > > Once again, thank you for your time. > > Regards, > > Asha > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Clear-the-data-cache-for-Karaf-2-3-x-for-a-specific-bundle-tp4028037p4028054.html > Sent from the Karaf - User mailing list archive at Nabble.com. >
