I'm making a bundle to plug on OSGi to provide user a function:
Usercase: User input the classname string and click "list" button, the corresponding class will be decompiled and show the text on GUI for user.
So here is my problem: I only have the classloader of my bundle, how can I get the OSGi container classloader that I can load the class by name from the whole OSGi container? (I expect that when OSGi starts, it will load all the bundles and all the class to memory, any class can be loaded by OSGi container classloader if it really exists and able to)
Anyone knows how to do this job? Sample codes are highly appreciated.