Composing Aspects at Shared Join Points

Composing Aspects at Shared Join Points
复制标题

DOI:
--
复制
发表时间:
2005-09
期刊:
--
影响因子:
--
通讯作者:
I. Nagy;L. Bergmans;M. Aksit
I. Nagy;L. Bergmans;M. Aksit
中科院分区:
其他
文献类型:
--
作者:
I. Nagy;L. Bergmans;M. Aksit

文献摘要

被引文献

相似文献

面向方面的语言提供了将方面行为叠加在给定的联接点上的手段。不仅需要在同一联接点上叠加一个方面行为的几个单位。指定这些单元叠加的方面被称为“共享”相同的联接点。这种共同的联接点可能会引起问题,例如确定确切的执行顺序和方面之间的依赖性。在本文中,我们对问题进行了详细的分析,并确定一组要求在共享联接点上撰写方面的机制。为了解决已确定的问题,我们提出了一个通用和声明性的模型,以定义共享联接点可能构成的构成。最后,通过使用一个扩展的联接点概念,我们展示了面向具体的方面编程语言,尤其是extackJ和compose*,如何采用所提出的模型。
Aspect-oriented languages provide means to superimpose aspectual behavior on a given set of join points. It is possible that not just a single, but several units of aspectual behavior need to be superimposed on the same join point. Aspects that specify the superimposition of these units are said to "share" the same join point. Such shared join points may give rise to issues such as determining the exact execution order and the dependencies among the aspects. In this paper, we present a detailed analysis of the problem, and identify a set of requirements upon mechanisms for composing aspects at shared join points. To address the identified issues, we propose a general and declarative model for defining constraints upon the possible compositions of aspects at a shared join point. Finally, by using an extended notion of join points, we show how concrete aspect-oriented programming languages, particularly AspectJ and Compose*, can adopt the proposed model.