Join point interfaces for safe and flexible decoupling of aspects
Join point interfaces for safe and flexible decoupling of aspects
复制标题
连接点接口,用于安全、灵活地解耦方面
DOI:
10.1145/2559933
复制
发表时间:
2014
期刊:
影响因子:
--
通讯作者:
Milton Inostroza
中科院分区:
文献类型:
--
作者:
Eric Bodden;Éric Tanter;Milton Inostroza
In current aspect-oriented systems, aspects usually carry, through their pointcuts, explicit references to the base code. Those references are fragile and hinder important software engineering properties such as modular reasoning and independent evolution of aspects and base code. In this work, we introduce a novel abstraction called Join Point Interface, which, by design, aids modular reasoning and independent evolution by decoupling aspects from base code and by providing a modular type-checking algorithm. Join point interfaces can be used both with implicit announcement through pointcuts, and with explicit announcement, using closure join points. Join point interfaces further offer polymorphic dispatch on join points, with an advice-dispatch semantics akin to multimethods. To support flexible join point matching, we incorporate into our language an earlier proposal for generic advice, and introduce a mechanism for controlled global quantification. We motivate each language feature in detail, showing that it is necessary to obtain a language design that is both type safe and flexible enough to support typical aspect-oriented programming idioms. We have implemented join point interfaces as an open-source extension to AspectJ. A case study on existing aspect-oriented programs supports our design, and in particular shows the necessity of both generic interfaces and some mechanism for global quantification.
登录
查看更多内容
DOI:
--
发表时间:
2012
期刊:
Aspect-Oriented Software Development
影响因子:
--
作者:
Robert Dyer;Hridesh Rajan;Yuanfang Cai
通讯作者:
Yuanfang Cai
DOI:
--
发表时间:
2010
期刊:
TOPL
影响因子:
--
作者:
B. D. Fraine;Erik Ernst;Mario Südholt
通讯作者:
Mario Südholt
DOI:
--
发表时间:
2001
期刊:
TOPL
影响因子:
--
作者:
M. Wand
通讯作者:
M. Wand
DOI:
10.1145/1052898.1052906
发表时间:
2005-03
期刊:
--
影响因子:
--
作者:
Pavel Avgustinov;Aske Simon Christensen;L. Hendren;Sascha Kuzins;Jennifer Lhoták;Ondřej Lhoták;O. Moor;D. Sereni;Ganesh Sittampalam;J. Tibble
通讯作者:
Pavel Avgustinov;Aske Simon Christensen;L. Hendren;Sascha Kuzins;Jennifer Lhoták;Ondřej Lhoták;O. Moor;D. Sereni;Ganesh Sittampalam;J. Tibble
DOI:
--
发表时间:
2011
期刊:
Aspect-Oriented Software Development
影响因子:
--
作者:
E. Bodden
通讯作者:
E. Bodden