karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Achim Nierbeck <bcanh...@googlemail.com>
Subject Re: Clear the data cache for Karaf 2.3.x for a specific bundle
Date Thu, 07 Mar 2013 17:42:10 GMT
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" <ashanair_g@yahoo.com>:

> 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.
>

Mime
View raw message