Transparent and Dynamic Aspect Composition

1 Darmstadt University of Technology, Germany 2 Laboratoire I3S (CNRS/UNSA), Sophia Antipolis, France ABSTRACT In this paper we present an aspect-oriented approach with an advanced aspect merging mechanism. This approach is geared towards modularizing crosscutting concerns in component based applications and it originated from our previous work on the interaction model, which focuses on component interactions as programmatic and runtime entities for dynamic component composition and adaptation. In the interaction model, aspects are specified as a set of interaction rules using the Interaction Specification Language ISL. The ISL language provides a commutative and associative aspect composition mechanism, which improves the comprehensibility, the analyzability, and the predictability of the system behavior at shared join points. Unlike in most AOP approaches, the programmer does not have to care about the composition of aspects, their ordering, and their interactions. Instead, the rule merging mechanism automatically merges the advices according to a finite set of composition rules and equivalence axioms and generates a semantically equivalent advice. Aspect inter-dependencies are passed to the merging mechanism as additional constraints.