Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » bytecode transformation prototype
bytecode transformation prototype [message #24309] Wed, 07 May 2003 06:31
Martin Lippert is currently offline Martin LippertFriend
Messages: 124
Registered: July 2009
Senior Member
Hi,

following the discussion of the AspectJ-enabled Eclipse Core Runtime thread I
implemented a first prototype that enhances the runtime with an additional
extension point. This extension point allows other plugins to implement bytecode
transformers. Those are used by the runtime to transform the bytecode of
possibly every class (except for boot, runtime, xerces) at load-time.

I changed my original AspectJ-enabled runtime into that design. This means, the
AspectJ-weaving is no longer integrated into the runtime, but now realized as a
single plugin providing an extension to that new extension point mentioned above.

I could provide source, binaries, and examples to anyone who is interested. I
would be happy to discuss the implementation and therefore the changes to the
runtime. All modifications to the boot and runtime sources are marked with a
special comment and should therefore be easy to find (via the task list).

BTW: A good friend of my told me, that this kind of bytecode modification is
very common in application servers. The also provide a hook to insert custom
bytecode transforming implementations. This encourages me to think that the
bytecode transformation hook is a useful thing inside the eclipse runtime.

Best regards,
Martin
Previous Topic:How are dependent plugins handled with unloading/reloading?
Next Topic:Plugin States Within Current Eclipse (mail with Jeff)
Goto Forum:
  


Current Time: Fri Apr 26 08:58:13 GMT 2024

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

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

Back to the top