Versatile Kernels for Aspect-Oriented Programming - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Rapport (Rapport De Recherche) Année : 2004

Versatile Kernels for Aspect-Oriented Programming

Éric Tanter
Jacques Noyé

Résumé

Aspect-Oriented Programming (AOP) is a promising approach to modularizing software in presence of crosscutting concerns. Numerous proposals for AOP have been formulated, some of them generic, others specific to particular concerns. There are commonalities and variabilities among these approaches, which are worth exploring. Unfortunately, in practice, these various approaches are hard to combine and to extend. This results from the fact that the corresponding tools, such as aspect weavers, have not been designed to be used along with others, although they usually perform very similar low-level tasks. In this report, we suggest to include common functionality into a versatile kernel for AOP. Such a kernel alleviates the task of implementing an aspect-oriented approach by taking care of basic program alterations. It also lets several approaches coexist without breaking each other by automatically detecting interactions among aspects and offering expressive composition means. From a review of the main features of Aspect-Oriented Programming, we present the main issues that the design of such an AOP kernel should address: open support for aspect languages taking care of both behavior and structure, base language compliance, and aspect composition. As this suggests that partial reflection is an appropriate general framework for AOP, we concretize these ideas with a Java AOP kernel based on partial reflection, reconciling in this way reflection and aspect orientation. A case study based on an implementation of the Sequential Object Monitors illustrates the benefits of the approach.
Fichier principal
Vignette du fichier
RR-5275.pdf (385.46 Ko) Télécharger le fichier

Dates et versions

inria-00070724 , version 1 (19-05-2006)

Identifiants

  • HAL Id : inria-00070724 , version 1

Citer

Éric Tanter, Jacques Noyé. Versatile Kernels for Aspect-Oriented Programming. [Research Report] RR-5275, INRIA. 2004, pp.27. ⟨inria-00070724⟩
108 Consultations
105 Téléchargements

Partager

Gmail Facebook X LinkedIn More