Improve pointcut definitions with program views

8 years 9 months ago
Improve pointcut definitions with program views
Aspect-oriented programming languages select join points using pointcut constructs that depend on the syntactic structure of the base program. As the base program evolves, the pointcuts may no longer capture the intended set of join points. Also, pointcuts may select join points so that aspects can observe program behavior protected by encapsulation and this makes local reasoning difficult. This work presents an approach for defining pointcuts based on program views, which are the abstractions of the classes and methods of the base program. Pointcuts are defined based on these views and syntactic changes in the base program will not affect the pointcuts if the base program is consistent with the views. A view also includes constraints to limit the set of join points that pointcuts can select and to help maintain modularity. Categories and Subject Descriptors D.2.2 [SOFTWARE ENGINEERING]: Design Tools and Techniques--Modules and interfaces; D.3.3 [PROGRAMMING LANGUAGES]: Language Const...
Zifu Yang, Tian Zhao
Added 12 Aug 2010
Updated 12 Aug 2010
Type Conference
Year 2007
Where AOSD
Authors Zifu Yang, Tian Zhao
Comments (0)