Cool - thanks Martin, I'll have a look into Equinox Weaving! David
On 29 June 2010 15:20, Martin Lippert <[email protected]> wrote: > Hi David! > > You should take a look at Equinox Weaving: > > http://www.eclipse.org/equinox/incubator/aspects (but this doc is quite old > and out-of-date, sorry) > > Using Equinox Weaving you can put aspects into bundles and let the runtime > take care of weaving these aspects into other bundles. You don't need to > listen to bundle events yourself or so. You can also apply aspects to > already installed or active bundles, but they get refreshed (stopped, > started again) to apply the aspects to. > > Maybe this helps you... > > Cheers, > -Martin > > > > > > On 29.06.10 15:35, David Bosschaert wrote: >> >> Hi all, >> >> I have a question about the use of AspectJ& Â OSGi bundles in Equinox. >> >> * I have a management bundle that monitors bundles being installed. >> * When a new bundle gets installed, I would like the possibility to >> attach an aspect to that bundle. Certain parameters to this aspect >> depend on some header information in the installed bundle, but in >> general the aspect wraps certain API calls made from the newly >> installed bundle. >> * Ideally I'd also like to have the option to attach aspects to >> bundles that were already installed before the management bundle got >> installed... >> >> Is this possible with AspectJ running in Equinox? >> >> Many thanks, >> >> David >> _______________________________________________ >> aspectj-users mailing list >> [email protected] >> https://dev.eclipse.org/mailman/listinfo/aspectj-users > > _______________________________________________ > aspectj-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/aspectj-users > _______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
