Results 1 to 1 of 1
Thread: OSGi and Class Loaders
- 04-15-2010, 01:26 AM #1
Member
- Join Date
- Apr 2010
- Posts
- 1
- Rep Power
- 0
OSGi and Class Loaders
I'm trying to run a bundle within a Felix OSGi container. The problem is I have no control over the configuration of the container and it uses boot delegation which is polluting my bundle's class space. This ends up causing the wrong versions of classes to be loaded. I'd like all classes to be loaded from inside my bundle.
Is it possible to bypass this expected behavior? Maybe by swapping the bundle's class loader with a custom one?
Similar Threads
-
Dynamic loading of a class (passing class definition over the network)
By eddie-w in forum Advanced JavaReplies: 8Last Post: 04-14-2010, 05:49 AM -
How can I share a static field between 2 class loaders?
By zibilico in forum Advanced JavaReplies: 6Last Post: 03-09-2010, 01:31 PM -
[SOLVED] How to pass information from child class to parent class
By pellebye in forum New To JavaReplies: 7Last Post: 05-06-2009, 12:42 PM -
problem in accessing array values of one class in to jframe class
By cenafu in forum AWT / SwingReplies: 8Last Post: 03-21-2009, 09:34 AM -
jSpellCorrect 0.4-osgi
By Java Tip in forum Java SoftwareReplies: 0Last Post: 04-26-2008, 08:35 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks