[abc] Question about Aspect precedence...

From: Nomair A. Naeem <nanaeem@plg.uwaterloo.ca>
Date: Tue Jan 30 2007 - 20:51:59 GMT

Hi All,
   I am reading a paper "Distributing classes with woven concerns: An
exploration of potential fault scenarios". This got me thinking on how abc
handles aspect precedence.

Specifically:

1, Given two pointcuts which match the same joinpoint and when no
precedence is explicitly specified which one is applied first.

2, If I was to import bytecode which has aspects already woven into it
does abc let me reweave these aspects. The authors of the above mentioned
paper say that "AspectJ 1.2" lets you do this if your bytecode was
produced using an "AspectJ compiler" with the Xreweavable option. I hate
it when they think all AspectJ compilers are the same. There is no
mention whether this is ajc or abc.

3, If abc does allow reweaving of aspects from imported bytecode then how
is precedence of aspects defined in this case. Specifically: if an
imported aspect and an aspect from my own code now interfere at a
joinpoint which one gets higher precedence assuming that no precedence was
explicitly defined.

Thanks for the help.
Nomair
Received on Tue Jan 30 20:52:11 2007

This archive was generated by hypermail 2.1.8 : Tue Mar 06 2007 - 16:13:50 GMT