• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2007, Vol. 29 ›› Issue (11): 137-139.

• 论文 • 上一篇    下一篇

面向方面的软件系统动态交互行为建模

杨敬中[1] 戎玫[2] 张广泉[1,3]   

  • 出版日期:2007-11-01 发布日期:2010-05-30

  • Online:2007-11-01 Published:2010-05-30

摘要:

面向方面编程是一种基于关注点分离的新技术,它成功地解决了面向对象编程中存在的代码缠结和散射问题。但是,在软件设计阶段,面向方面建模并没有得到很好的支持。 通过分析面向方面编程的特点以及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)