Separation of Concerns with Procedures, Annotations, Advice and Pointcuts

Separation of Concerns with Procedures, Annotations, Advice and Pointcuts
复制标题

将关注点与过程、注释、建议和切入点分离

DOI:
10.1007/11531142_9
复制
发表时间:
2005
期刊:
--
影响因子:
--
通讯作者:
M. Mezini
M. Mezini
中科院分区:
--
文献类型:
--
作者:
G. Kiczales;M. Mezini

文献摘要

参考文献

被引文献

相似文献

在源代码级别有许多分离关注点的机制。作为最近关注焦点的三种机制--元数据注释、切入点和通知--可以与良好的老式过程一起建模为提供不同种类的绑定:过程调用将程序点绑定到操作,注释将属性绑定到程序点;切入点将点集合绑定到这些集合的各种描述;命名切入点将属性绑定到点集合;和通知将操作的实现绑定到点的集合。该模型阐明了这些机制如何协同工作以分离关注点,并产生指导方针以帮助开发人员在实践中使用这些机制。
There are numerous mechanisms for separation of concerns at the source code level. Three mechanisms that are the focus of recent attention – metadata annotations, pointcuts and advice – can be modeled together with good old-fashioned procedures as providing different kinds of bindings: procedure calls bind program points to operations, annotations bind attributes to program points; pointcuts bind sets of points to various descriptions of those sets; named pointcuts bind attributes to sets of points; and advice bind the implementation of an operation to sets of points. This model clarifies how the mechanisms work together to separate concerns, and yields guidelines to help developers use the mechanisms in practice.
DOI: 10.1007/bfb0053381
发表时间: 1997-01-01
期刊: ECOOP'97: OBJECT-ORIENTED PROGRAMMING
影响因子: --
作者:
Kiczales, G;Lamping, J;Irwin, J
通讯作者: Irwin, J