期刊文献+

一种基于UML扩展的AO建模方法 被引量:2

An Approach to Aspect-Oriented Modeling Based on UML Extension
下载PDF
导出
摘要 随着AOP技术的日渐成熟,面向方面建模(AOM)已成为当前研究的热点。AOM利用建模语言为系统进行基于AO的分析和表示,允许开发人员在系统开发与设计的初始阶段就将问题分解为核心组件与横切组件,并将横切关注点模块化独立的aspect,这可使系统结构更加清晰,为下一个阶段的代码生成、系统维护带来便利和保障。本文利用UML的可扩展性,提出了一种基于AspectJ语法概念,通过扩展UML元模型元素来支持AO建模的方法。谊方法利用UML自身的扩展机制(版类、标签值和约束),对class、association等元模型元素进行扩充,分别表达AspectJ系统模型中的aspect、pointcut等概念。最后利用Rational Rose CASE工具包对该方法进行了验证,并通过编制的脚本为模型中的aspect生成了AspectJ语法格式的代码框架。 With the gradual perfection of Aspect Oriented Programming, recent researches have been focusing on Aspect Oriented Modeling (AOM). In this paper, based on extension mechanisms of the unified modeling language (UML), sush as stereotypes, tagged values and constraints, we propose a UML extension for modeling AO systems characterized by AspectJ constructs and supporting AspectJ system modeling by extending UML meta-model elements. To describe aspects and pointcuts and other notions in AspectJ system, this approach extends the 'Class', 'association' and other UML meta-model elements, and it is also tested here by using Rational Rose CASE tool package. Using Rose Script we compiled to generate an AspectJ skeleton for the aspect-diagram for the model designed using the proposed extension.
出处 《计算机科学》 CSCD 北大核心 2004年第12期196-198,201,共4页 Computer Science
基金 重庆市教委科学技术研究项目(项目号:030201)
关键词 UML扩展 元模型 AO 代码生成 建模语言 CASE工具 扩展机制 便利 核心组件 开发人员 Aspect-oriented modeling UML extension Meta-model
  • 相关文献

参考文献10

  • 1The emerging Technologies That Will Change the World. MIT Technology Review, Jan./Feb. 2001 issue
  • 2Workshop on ''Aspect-oriented Modeling with UML''. http://lglwww. epfl. ch/workshops/aosd-uml/
  • 3Suzuki J, Yamamoto Y. Extending UML with Aspects: Aspect Support in the Design Phase. In:AOP Workshop at ECOOP'99,Portugal, 1999
  • 4Clarke S, Walker RJ. Composition Patterns: An Approach to Designing Reusable Aspects. In: Proc. of ICSE, 2001
  • 5Aldawud O,Bader A,Elrad T. Weaving with statecharts. http://www2. umassd. edu/swsoc/workshops/
  • 6Lions J M,Simoneau D, Pitette G. Extending OpenTool/ UML Using Metamodeling: An Aspect Oriented Programming Case Study. In:Second Intl. Workshop on AOM, 2002
  • 7Aldawud O,Elrad T,Bader A. A UML Profile for Aspect Oriented Modeling. In: OOPSLA 2001 workshop on AOP
  • 8OMG. Unified Modeling Language Specification. Version 1. 3,1999
  • 9Rational Rose 2000e, Rose Extensibility User's Guide. Copyright (c) 1998-2000 Rational Software Corporation
  • 10Laddad R. I want my AOP. Http://www. Javaworld. Com/javaworld/jw-01-2002/. 2002

同被引文献11

引证文献2

二级引证文献4

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部