期刊文献+

基于扩展UML的面向方面的建模 被引量:8

Modeling of Aspect-oriented by Extending UML
在线阅读 下载PDF
导出
摘要 提出了一个新的扩展UML进行面向方面建模的方法,它以合适的语义表达了AspectJ和AspectC++的元素和织入机制。在这个方法中,方面继承自类,切入点和通知继承自特征,这样切入点和通知是方面的一部分,方面与基本类的关系用横切依赖表示。切入点的图符可以表达多个方面在相同连接点的横切行为,通知以一致的方式建模结构横切和行为横切,通过在顺序图上新加一个通知发出焦点,并通知表示为消息,这样可以清晰建模通知在何时何处怎样影响系统的行为。 This article proposes a new technique to model aspect-oriented constructs and mechanisms by extending UML, which can represent constructs and weaving mechanism of AspectJ and AspectC++ with appropriate semantics. In this method, aspect is subclass of class: pointcut and advice are derived from feature, thus pointcut and advice are parts of aspect: relationship between aspects and base classes is represented by special crosscut dependency. The notation of pointcut can express crosscutting behavior of many aspects at same join point. Advice can model structural crosscutting and behavior crosscutting in a uniform way. By adding a new block, advice sending focus, in sequence diagram and regard advice as message, this method can clearly model where and when and how advices affect system behavior.
出处 《计算机工程》 EI CAS CSCD 北大核心 2006年第19期100-102,共3页 Computer Engineering
基金 国家自然科学基金资助项目(60474072 60174050) 广东省自然科学基金资助项目(04009465 010059) 广东省高校自然科学研究基金资助项目(Z03024)
关键词 面向方面编程 面向方面建模 ASPECTJ AspectC++ UML AOP AOM Aspect.l: AspectC++: UML
作者简介 郭东亮(1979-),男,硕士生,主研方向:软件设计方法与实时软件设计方法;E-mail:guo-dongliang@163.com 张立臣,博士、教授
  • 相关文献

参考文献9

  • 1Kiczales G,Lamping J,Mendhekar A,et al.Aspect-oriented Programming[C].Proc.of ECOOP'97,Springer-Verlag,1997:220-242.
  • 2Kiczales G,Hilsdale E,Hugunin J,et al.An Overview of AspectJ[Z].WhitePaper,http://aspectj.org,2001.
  • 3AspectJ Team.The AspectJ^TM Programming Guide[Z].http://eclipse.org/aspectj/.
  • 4Spinczyk O,Gal A,Wolfgang S P.AspectC++:An Aspect-oriented Extension to C++[C].Proceedings of the 40^th International Conference on Technology of Object-oriented Languages and Systems,Sydney,Australia,2002.
  • 5Spinczyk O.Pure-systems GmbH[Z].AspectC++ Language Reference,http://www.aspectc.com/.
  • 6OMG.Unified Modeling Language Specification(Version 1.5)[Z].http://www.omg.org/.
  • 7OMG.UML Infrastructure 2.0 Adopted Specification[Z].http://www.omg.org/.
  • 8OMG.UML Superstructure 2.0 Draft Adopted Specification[Z].http://www.omg.org/.
  • 9RumbaughJ JacobsonI BoochG 姚淑珍 译.UML参考手册[M].北京:机械工业出版社,2001..

共引文献17

同被引文献61

引证文献8

二级引证文献17

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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