Versatile Kernels for Aspect-Oriented Programming

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.

Data and Resources

Additional Info

Field Value
Source https://inria.hal.science/inria-00070724
Author Tanter, Éric, Noyé, Jacques
Maintainer CCSD
Last Updated May 15, 2026, 19:30 (UTC)
Created May 15, 2026, 19:30 (UTC)
Identifier Report N°: RR-5275
Language en
Rights https://about.hal.science/hal-authorisation-v1/
contributor Objects, aspects and components (OBASCO) ; Mines Nantes (Mines Nantes)-Centre Inria de l'Université de Rennes ; Institut National de Recherche en Informatique et en Automatique (Inria)-Institut National de Recherche en Informatique et en Automatique (Inria)
creator Tanter, Éric
date 2004-05-15T00:00:00
harvest_object_id c1604d2a-c024-4cad-8311-f089f757c5e8
harvest_source_id 3374d638-d20b-4672-ba96-a23232d55657
harvest_source_title test moissonnage SELUNE
metadata_modified 2025-03-28T00:00:00
set_spec type:REPORT