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

基于UML的面向方面建模方法
引用本文:刘瑞成,张立臣.基于UML的面向方面建模方法[J].计算机科学,2005,32(10):204-209.
作者姓名:刘瑞成  张立臣
作者单位:广东工业大学计算机学院,广州510090
基金项目:本文受国家自然科学基金(No.60474072、No.60174050)、广东省自然科学基金(No.04009465、No.010059)、广东省高校自然科学研究项目(No.Z03024)基金资助.
摘    要:面向方面编程(AOP)技术通过横切关注来实现软件系统.面向方面建模可通过扩展UML来实现,在元模型层次上设计面向方面软件开发(AOSD)模型框架.从结构建模、行为建模、方面织入以及代码产生几个方面实现面向方面的建模方法.利用UML类图实现方面的结构模型,方面与核心组件及方面之间的静态模型关系.协作图表达方面与核心组件及方面之间的动态行为,并通过状态图细化方面和核心组件的动态行为,实现状态图的方面与核心组件及方面之间的织入关系,最终实现方面代码的自动生成.基于UML的方面建模填补AOP与OOP技术之间的空白,提高软件设计的模块化,增强代码的重用性、维护性.

关 键 词:面向方面  UML  元模型  框架

Aspect-Oriented Modeling Method Based on UML
LIU Rui-Cheng,ZHANG Li-Chen.Aspect-Oriented Modeling Method Based on UML[J].Computer Science,2005,32(10):204-209.
Authors:LIU Rui-Cheng  ZHANG Li-Chen
Affiliation:Faculty of Computer Science, Guangdong University of Technology, Guangzhou 510090
Abstract:Aspect-oriented programming technology implements the software system using crosscutting. Aspect-orientation can be modeled by extending UML, and designed the AOSD model profile in the met, a-model. The profile models aspects from the structural model, behavioral model, aspects weaving and code generation. UML class diagrams realize the aspect structures, and the static relationships between aspects and core components or other aspects. The collaboration diagrams express the dynamic behaviors. The statecharts refine the behaviors of aspects and core components, and realize the weaving of aspects, so as to enable automatic code generation of aspects. Modeling aspects by UML will fill the gap between AOP and OOP. It improves the software modularization, and makes the code more reusable and maintainable.
Keywords:Aspect-orientation  UML  Meta-model  Profile
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机科学》浏览原始摘要信息
点击此处可从《计算机科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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