Composition Analysis of Multiple Aspects in Aspect-oriented Programs

被引:1
|
作者
Qamar, Nafees [1 ]
机构
[1] INRIA Rhone Alpes LIG, Grenoble, France
关键词
Programming languages; Aspect-oriented programming; aspects interactions and interferences; formal methods;
D O I
10.1109/APSEC.2009.36
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper presents a classification of widely studied approaches that focus interaction analysis and composition of multiple aspect(s) in aspect-oriented programs (AOP). It is evident that AOP has an ability to distort semantics of base-programs and aspects themselves due to advice-method or advice-advice interactions in terms of control now and data sharing features. Thus, it entails a comprehensive analysis in order to pinpoint ambiguities at semantic level; especially in case of multiple aspects that remains focus of this paper. One possible interaction (method-advice) may inviolate a predicate of another advice from another aspect, residing in the base-program. We narrow our analysis to understand such intricacies and present a bunch of rules to understand weaving semantics (in particular, advice-advice interaction from two different aspects) and also propose precedence laws for aspects to be woven. In this paper discrete computation of aspects using operational semantics enables better interaction analysis of aspects and specifying their behavior by excluding the dependencies of any specific AOP language implementation. The contributions are threefold: (1) a survey based on an informal classification of proposed approaches targeted towards interfering aspects (2) our proposed formal definitions for composing aspects through evaluation rules using operational semantics (3) addressing precedence issues in aspects to some degree and offering a preliminary solution based on proactive execution order of aspects.
引用
收藏
页码:223 / 230
页数:8
相关论文
共 50 条
  • [41] Enhancing Base-code Protection in Aspect-Oriented Programs
    ElBendary, Mohamed
    Boyland, John
    FOAL09: FOUNDATIONS OF ASPECT-ORIENTED LANGUAGES, 2009, : 19 - 23
  • [42] MM Path Approach for Integration Testing of Aspect-Oriented Programs
    Sahu, Madhusmita
    Mohapatra, Durga Prasad
    2015 14TH INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY (ICIT 2015), 2015, : 82 - 87
  • [43] DESIGN QUALITY OF ASPECT-ORIENTED AND OBJECT-ORIENTED PROGRAMS An Empirical Comparison
    Georgieva, Konstantina
    Farooq, Ayaz
    Dumke, Reiner R.
    ICSOFT 2009: PROCEEDINGS OF THE 4TH INTERNATIONAL CONFERENCE ON SOFTWARE AND DATA TECHNOLOGIES, VOL 1, 2009, : 287 - 290
  • [44] Aspect-oriented compilers
    de Moor, O
    Peyton-Jones, S
    Van Wyk, E
    GENERATIVE AND COMPONENT-BASED SOFTWARE ENGINEERING, PROCEEDINGS, 2000, 1799 : 121 - 133
  • [45] Aspect-Oriented Coordination
    Fuentes, Lidia
    Sanchez, Pablo
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2007, 189 : 87 - 103
  • [46] Aspect-oriented metamodelling
    Clark, T
    Evans, A
    Kent, S
    COMPUTER JOURNAL, 2003, 46 (05): : 566 - 577
  • [47] Aspect-oriented programming
    Lopes, CV
    Kiczales, G
    TECHNOLOGY OF OBJECT-ORIENTED LANGUAGES AND SYSTEMS - TOOLS 34, PROCEEDINGS, 2000, : 461 - 461
  • [48] Inference rules for generic code migration of aspect-oriented programs
    Rubbo, Fernando Barden
    Piveta, Eduardo Kessler
    Nunes, Daltro Jose
    SCIENCE OF COMPUTER PROGRAMMING, 2013, 78 (08) : 1157 - 1175
  • [49] Visualization of aspect-oriented programs using city transportation metaphor
    Fadi Wedyan
    Reema Freihat
    Maen Hammad
    Cluster Computing, 2022, 25 : 3993 - 4008
  • [50] Aspect-oriented programming
    Bergmans, L
    Lopes, CV
    OBJECT-ORIENTED TECHNOLOGY, 1999, 1743 : 288 - 313