J4 ›› 2007, Vol. 29 ›› Issue (11): 137-139.
• 论文 • 上一篇 下一篇
杨敬中[1] 戎玫[2] 张广泉[1,3]
出版日期:
发布日期:
Online:
Published:
摘要:
面向方面编程是一种基于关注点分离的新技术,它成功地解决了面向对象编程中存在的代码缠结和散射问题。但是,在软件设计阶段,面向方面建模并没有得到很好的支持。 通过分析面向方面编程的特点以及UML2.0新增的复合片段概念,本文提出了应用顺序图中的可选片段来表示Aspect与组件之间的横切交互行为,并给出将Aspect引入顺序图 的相关规定,实现了UML2.0顺序图对面向方面建模的支持。
关键词: 面向方面建模 UML2.0顺序图 复合片段
Abstract:
Aspect-oriented programming is a new technology based on concern separation, which succeeds in solving the code tangling and scattering deficiency with object-oriented programming. But the aspect-oriented concepts have not been well supported at the phase of software design. By analyzing the character istics of AOP and the newly-added combined fragments of UML2. 0, the opt fragment is selected to describe the crosscutting behavior between components and aspects. Then some rules are given in order to introduce the aspect. Finally, the UML2. 0 sequence diagram supports the aspect oriented modeling.
Key words: (aspect-oriented modeling, UML2. 0 sequence diagram, combined fragment)
杨敬中[1] 戎玫[2] 张广泉[1,3]. 面向方面的软件系统动态交互行为建模[J]. J4, 2007, 29(11): 137-139.
0 / / 推荐
导出引用管理器 EndNote|Ris|BibTeX
链接本文: http://joces.nudt.edu.cn/CN/
http://joces.nudt.edu.cn/CN/Y2007/V29/I11/137