|
How to use URLClassLoader in a OSGi Bundle? -
11-19-2008, 11:04 AM
I have an OSGi Bundle within which I wish to load classes from a JAR.
The location of the JAR & the class to be loaded from the JAR would be dynamically provided to the Bundle.
The solution I could think of is using a URLClassLoader. But the OSGi classloading mechanism restricts from loading any other JARs.
Is there an alternative?
|