Skip to main content



      Home
Home » Eclipse Projects » Equinox » Framework extension bundles and inner-bundle jars
Framework extension bundles and inner-bundle jars [message #59631] Thu, 02 February 2006 22:06 Go to next message
Eclipse UserFriend
I'm attempting to supply my own framework extension bundle via the
osgi.framework.extensions property to take advantage of the new hooking
features of the new EclipseAdapter. I'm attempting to hook class loading
and proxy requested classes using the cglib library (http://cglib.sf.net).
Ususally, I'd include the cglib library jar inside my own bundle, however
this doesn't seem to work when the bundle is used as a framework
extension. When running from the PDE launcher, the extension bundle's
classloader is a StartupClassLoader (I believe from the
org.eclipse.platform bundle) instead of some sort of bundle ClassLoader.
Is this a bug or the intended functionality? What can I do to work around
the issue?

Thanks,
Jeremy Volkman
Re: Framework extension bundles and inner-bundle jars [message #60993 is a reply to message #59631] Thu, 09 February 2006 15:55 Go to previous message
Eclipse UserFriend
Originally posted by: jeff_nospam_mcaffer.ca.ibm.com

Sounds like an issue around specifying framework extensions when launching.
Perhaps you are not supplying the right values inthe launch configuration
etc.

I suggest opening a bug in PDE/UI to clarify the situation.

BTW, yes, StartupClassLoader is correct. The framework, though it surfaces
as bundle #0 is not in fact a bundle as this would be recursive.

Jeff

"Jeremy Volkman" <jvolkman@gmail.com> wrote in message
news:b04d49d42d022b0145e29ad10feab578$1@www.eclipse.org...
> I'm attempting to supply my own framework extension bundle via the
> osgi.framework.extensions property to take advantage of the new hooking
> features of the new EclipseAdapter. I'm attempting to hook class loading
> and proxy requested classes using the cglib library (http://cglib.sf.net).
> Ususally, I'd include the cglib library jar inside my own bundle, however
> this doesn't seem to work when the bundle is used as a framework
> extension. When running from the PDE launcher, the extension bundle's
> classloader is a StartupClassLoader (I believe from the
> org.eclipse.platform bundle) instead of some sort of bundle ClassLoader.
> Is this a bug or the intended functionality? What can I do to work around
> the issue?
>
> Thanks,
> Jeremy Volkman
>
Previous Topic:serverside OSGI follow on questions
Next Topic:sp_redeploy creates class cast exceptions for session attributes
Goto Forum:
  


Current Time: Thu May 08 06:43:34 EDT 2025

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

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

Back to the top