karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: Searching through classloaders
Date Sun, 18 Nov 2012 19:43:32 GMT

you can get the classloader from each bundle.
IMHO, it's not the right approach and you shouldn't do this: OSGi 
modules (about exported/imported packages, etc) is more interesting 
(including the packages version for instance). For instance, in Karaf 
you have packages:export and packages:import commands to see that.


On 11/18/2012 08:06 PM, Karabo Molema wrote:
> Hi, I am a beginner when it comes to OSGi, is it possible to search
> through the different classloaders
> in a container to see if certain classes are available and\or loaded
> into memory?

Jean-Baptiste Onofré
Talend - http://www.talend.com

View raw message