[aosd-discuss] feature composition

Anastasopoulos, Michalis Michalis.Anastasopoulos at iese.fraunhofer.de
Thu Jan 15 06:22:04 EST 2004


I 've read recently a report arguing that AspectJ does not provide any support for defining aspect combination rules. 
In other words I have no possibility to stop compilation if an illegal aspect combination is given for weaving or
raise an exception if two aspects advice the same base code, while this is not supposed to happen.

I believe that such rules can be defined outside AspectJ, for example in Ant scripts.
Even inside of aspect code we can capture calls to specific aspects and therefore avoid undesired combinations.

Any other inputs regarding this issue would be appreciated.

Regargs,
Michalis



More information about the discuss mailing list