Hi,
In the application I am porting to OSGi I created my own URL Classloader to setup a classpath based on which service I was trying to launch. This was modeled after how JBoss use to do their classloading to launch different servers. Anyway, OSGi ignores my Classloader's classpath so I couldn't load any resources etc. To get around this I am setting the Thread that starts Felix Context Classloader with my custom classloader and using that to load resources, etc. My question is am I really doing something stupid that is going to bit me in the ass later on and if so what would be a better way to load various resources (configuration file, images, resource bundles, SQL scripts, etc)?

Thanks again for your help

-Pete


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org

Reply via email to