Detection and Resolution of Weaving Interactions

  • Authors:
  • Günter Kniesel

  • Affiliations:
  • Universität Bonn, Institut für Informatik III, Bonn, Germany D-53117

  • Venue:
  • Transactions on Aspect-Oriented Software Development V
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

Jointly deployed aspects may interact with each other. While some interactions might be intended, unintended interactions (interferences) can break a program. Detecting and resolving interferences is particularly hard if aspects are developed independently, without knowledge of each other. Work on interference detection has focused so far on the correctness of weaved programs. In this paper, we focus on the correctness and completeness of aspect weaving . We show that a large class of interferences result from incorrect or incomplete weaving and present a language-independent analysis of correctness and completeness of weaving. For certain types of interactions automatic resolution is possible. In this case, our algorithm computes a "weaving schedule" that ensures correctness and completeness of the weaving process. This is possible without special purpose program annotations or formal specifications of aspect semantics. Our technique can check weaving interferences independently of any base program and is applicable to aspects that contain implicit mutual dependencies in their implementation.