| [news.eclipse.technology.equinox] Re: AspectJ-enabled runtime implementation |
Martin,
just one word before I start to explain the modifications. I have implemented a modified version of the Eclipse runtime which allows you to define aspects in single plugins. As long as the aspects are promoted via a special extension (to a new extension point) that got woven into the complete system if defined so in the pointcut definition of the aspect. The current implementation is based on Eclipse 2.1 RC2 and AspectJ 1.1rc1 and it really works. So if anybody would like to see and try it, just drop me an email.
This sounds incredibly powerful and useful.
Handling dependencies between plugins dynamically:
--------------------------------------------------
While aspects are woven into classes (of possibly each plugin) new dependencies between plugins might be introduced. This has to be put in place by the bytecode transformer when it happens. Therefore the bytecode transformer needs some kind of method “addImport” at the DelegatingURLClassLoader.