You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by Rodrigo Serra <ro...@jlab.com.ar> on 2014/11/11 21:52:24 UTC

Bundle class loaders details

Hi,

Is possible to view details of the class loader for specifics bundle?

Regards,
Rodrigo

Re: Bundle class loaders details

Posted by Rodrigo Serra <ro...@jlab.com.ar>.
Thanks!
> El 12/11/2014, a las 2:56, Christian Schneider <ch...@die-schneider.net> escribió:
> 
> If you mean programmatically then try this:
> 
> bundle.adapt(BundleWiring.class).getClassLoader()
> 
> From the karaf shell you can list the imports of the bundle which contains the most interesting details. Also the headers command helps if the bundle is not resolved.
> 
> Christian
> 
> Am 11.11.2014 21:52, schrieb Rodrigo Serra:
>> Hi,
>> 
>> Is possible to view details of the class loader for specifics bundle?
>> 
>> Regards,
>> Rodrigo
> 
> 
> -- 
> Christian Schneider
> http://www.liquid-reality.de
> 
> Open Source Architect
> Talend Application Integration Division http://www.talend.com
> 


Re: Bundle class loaders details

Posted by Christian Schneider <ch...@die-schneider.net>.
If you mean programmatically then try this:

bundle.adapt(BundleWiring.class).getClassLoader()

 From the karaf shell you can list the imports of the bundle which 
contains the most interesting details. Also the headers command helps if 
the bundle is not resolved.

Christian

Am 11.11.2014 21:52, schrieb Rodrigo Serra:
> Hi,
>
> Is possible to view details of the class loader for specifics bundle?
>
> Regards,
> Rodrigo


-- 
  
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com