Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Custom Bundle Class Loader
Custom Bundle Class Loader [message #48700] Thu, 30 June 2005 23:40
Eclipse UserFriend
Originally posted by: schulz78.gmx.net

Hi,

having eclipse plugins deployed as jars is a great idea. However my
pre-3.1 plugin layout is broken by the fact that third party libraries
(in <plugin>/lib) are not found anymore, since jars in jars cannot be
used by the standard Jar-enabled classloader. I think any other solution
(e.g. locating jars in a separate plugin that is not jar'ed or having
plugins not being jar'ed at all) is less appropriate.

What I want to do is wrap a custom class loader around the OSGI
framework class loader or deploy a proxy that intercepts calls to
Bundle.loadClass and delegates to that special class loader, which
checks if a <plugin>/lib folder exists and iff tries to load the class
from any jar found within that folder.

Is there any chance to implement this (either as a parental class loader
or as a delgating proxy object)?

Any comments would be appreciated.
Regards,
Sven Schulz
Previous Topic:communication with an embedded RCP
Next Topic:Buddy Loader docs?
Goto Forum:
  


Current Time: Thu Apr 25 01:17:49 GMT 2024

Powered by FUDForum. Page generated in 0.03251 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top