JAC: A Flexible Solution for Aspect-Oriented Programming in Java - Archive ouverte HAL Accéder directement au contenu
Communication Dans Un Congrès Année : 2001

JAC: A Flexible Solution for Aspect-Oriented Programming in Java

Renaud Pawlak
  • Fonction : Auteur
Lionel Seinturier
  • Fonction : Auteur
  • PersonId : 970094
Laurence Duchien
Gérard Florin
  • Fonction : Auteur

Résumé

This paper presents JAC (Java Aspect Components), a framework for aspect-oriented programming in Java.Unlike languages such as AspectJ which are mostly class-based,JAC is object-based and does not require any language extensions to Java.It uses the Javassist class load-time MOP.An aspect program in JAC is a set of aspect objects that can be dynamically deploted and undeployed on top on running application objects.Aspect objects may define three kinds of aspect methods: wrapping mwthods (that wrap application methods and provide the ability to run code before and after the wrapped methods), role methods (that add new funchtionalities to applications objects) and exception handlers.The aspects composition issue is handled through a well defined wrapping controller that specifies for each wrapped object at wrap-time, runtime or both, the execusion order of aspect objects.

Dates et versions

hal-01572035 , version 1 (04-08-2017)

Identifiants

Citer

Renaud Pawlak, Lionel Seinturier, Laurence Duchien, Gérard Florin. JAC: A Flexible Solution for Aspect-Oriented Programming in Java. Reflection 2001 - 3rd International Conference on Metalevel Architectures and Separation of Crosscutting Concerns, Sep 2001, Kyoto, Japan. pp.1-24, ⟨10.1007/3-540-45429-2_1⟩. ⟨hal-01572035⟩
133 Consultations
0 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More