首页 | 本学科首页   官方微博 | 高级检索  
     

基于 UML扩展的面向方面建模 *
引用本文:葛君伟,何勇.基于 UML扩展的面向方面建模 *[J].计算机应用研究,2008,25(10):3012-3014.
作者姓名:葛君伟  何勇
作者单位:重庆邮电大学CIS研究所,重庆400065
基金项目:重庆市自然科学基金资助项目 ( 2005 BB2059 )
摘    要:面向方面编程(AOP)把横切关注点从系统中分离,解决了面向对象编程(OOP)中代码纠缠、散射的问题。但在面向方面建模中,横切方面没有得到很好的支持。首先,在统一建模语言(UML)元模型的基础上利用类图建立了整体框架模型,设计了核心类、方面、横切元素及其之间的关系;其次,利用UML扩展机制为切点、通知、方面等主要元素建立了新的模型,设计了它们与方面之间新的关联关系并为其定义了语义。通过UML扩展,使得UML能够直接表达面向方面概念,支持面向方面建模设计,实现了面向方面模型的可视化和可辨别性;整体框架模型使得面向方面整体结构清晰,各个核心元素之间关系明确,为面向方面建模提供了一个整体设计平台,提高了面向方面软件设计的模块化,增强了代码的重用性和系统的可维护性。

关 键 词:面向方面  统一建模语言  元模型  面向方面建模  Profile

Modeling of aspect-oriented based on extending UML
GE Jun-wei,HE Yong.Modeling of aspect-oriented based on extending UML[J].Application Research of Computers,2008,25(10):3012-3014.
Authors:GE Jun-wei  HE Yong
Affiliation:( GIS Research Center, Chongqing University of Posts & Telecommunications, Chongqing 400065, China)
Abstract:The aspect-oriented programming( AOP) separated crosscutting from system, solved tangling and scattering of code in object-oriented programming( OOP) . But in aspect-oriented modeling, the crosscutting could not be supported. The paper made use of class diagram to set up a whole backbone model based on the unified modeling language ( UML) mete-model, de-signed the relationship of core class, aspect and other crosscutting elements; then made use of profile of UML to set up a new model for pointcuts, advice, aspect, and designed the new relationships of them with aspect, and defined the new semantic. Through The profileo fUML, UML can express the concept and model of aspect-oriented, realize the model visibility and distin-guish ability; the whole backbone model makes the whole structure of aspect-oriented become legible, relationship of core ele-ments become definite, and supplies a whole design platform of aspect-oriented, improves the modularization of software de-sign, code reusable and maintainable.
Keywords:aspect-oriented  UML  meta-model  aspect-oriented modeling  Profile
本文献已被 维普 等数据库收录!
点击此处可从《计算机应用研究》浏览原始摘要信息
点击此处可从《计算机应用研究》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号