karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: Karaf shutdown
Date Tue, 25 Oct 2011 09:18:07 GMT
Hi Charles,

correct:

                     Bundle bundle = getBundleContext().getBundle(0);
                     bundle.stop();

Regards
JB

On 10/25/2011 11:16 AM, Charles Moulliard wrote:
> Hi,
>
> Can someone confirm that when we shutdown karaf, we stop the bundle =
> 0 which is Apache Felix or Eclipse Equinox ? This system bundle when
> it will shutdown will automatically shutdown all the bundles deployed
> ?
>
>                      Bundle bundle = getBundleContext().getBundle(0);
>                      bundle.stop();
>
> Regards,
>
> Charles Moulliard
>
> Apache Committer
>
> Blog : http://cmoulliard.blogspot.com
> Twitter : http://twitter.com/cmoulliard
> Linkedin : http://www.linkedin.com/in/charlesmoulliard
> Skype: cmoulliard

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Mime
View raw message