Dynamic AspectJ

Ali Assaf 1, 2 Jacques Noyé 1, 2
1 OBASCO - Objects, aspects and components
Mines Nantes - Mines Nantes, Inria Rennes – Bretagne Atlantique
Abstract : This paper considers the difficulties linked to the static scheduling strategy of AspectJ and shows how to overcome them by turning to a more dynamic strategy, making it possible to order, cancel, and deploy aspects at runtime. We show that this more dynamic strategy can be obtained by a minor update of the semantics of AspectJ introducing the notion of current aspect group, that is, the aspects scheduled for the current join point. We show how to reflect this change at the language level and present a prototype of the resulting AspectJ variant, Dynamic AspectJ. This prototype reuses AspectJ to perform a first step of static weaving, which we complement by a second step of dynamic weaving, implemented through a thin interpretation layer. This can be seen as an interesting example of reconciling interpreters and compilers, the dynamic and the static world.
Type de document :
Communication dans un congrès
Brichau, Johan. Dynamic Languages Symposium 2008 (DLS '08), Jul 2008, Paphos, Cyprus. ACM Press, 2008, 〈http://doi.acm.org/10.1145/1408681.1408689〉. 〈10.1145/1408681.1408689〉
Liste complète des métadonnées

https://hal.inria.fr/inria-00429548
Contributeur : Noyé Jacques <>
Soumis le : mardi 3 novembre 2009 - 14:11:41
Dernière modification le : vendredi 22 juin 2018 - 09:31:55

Identifiants

Citation

Ali Assaf, Jacques Noyé. Dynamic AspectJ. Brichau, Johan. Dynamic Languages Symposium 2008 (DLS '08), Jul 2008, Paphos, Cyprus. ACM Press, 2008, 〈http://doi.acm.org/10.1145/1408681.1408689〉. 〈10.1145/1408681.1408689〉. 〈inria-00429548〉

Partager

Métriques

Consultations de la notice

613