基于UML2.0的面向方面建模方法研究  被引量:3

Researching Aspect-Oriented Modeling Method Based on UML2.0

在线阅读下载全文

作  者:杨敬中[1] 张广泉[1] 

机构地区:[1]苏州大学计算机科学与技术学院,江苏苏州215006

出  处:《苏州大学学报(工科版)》2007年第1期21-26,共6页Journal of Soochow University Engineering Science Edition (Bimonthly)

基  金:江苏省高校自然科学基金(批准号05KJB520119);重庆市自然科学基金项目(编号CSTC;2006BB2259)

摘  要:面向方面编程是一种基于关注点分离的新技术,它成功解决了面向对象编程中所存在的代码缠结和散射问题,但在软件设计阶段并没有得到很好的支持。通过分析面向方面编程的特点及其概念,比较UML2.0的两种不同扩展方法,提出了基于Profile机制来定义新的模型元素,并为其增加新的语义,再通过对象约束语言(OCL)来对这些新增模型元素加以约束,从而实现了UML2.0对面向方面建模的支持。Aspect-Oriented Programming 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 characteristics of the AOP and the concepts, comparing the differences between UML2.0 extending methods, the Profiles Mechanism is taken to add new concepts about aspects, and then constraints expressed by OCL are added to the model elements. Finally, Aspect Oriented Modeling is supported by UML2. 0.

关 键 词:面向方面编程 UML2.0 Profile机制 面向方面建模 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象