节点文献

基于扩展UML的面向方面的建模

Modeling of Aspect-oriented by Extending UML

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 郭东亮张立臣

【Author】 GUO Dongliang,ZHANG Lichen(Faculty of Computer,Guangdong University of Technology,Guangzhou 510090)

【机构】 广东工业大学计算机学院广东工业大学计算机学院 广州510090广州510090

【摘要】 提出了一个新的扩展UML进行面向方面建模的方法,它以合适的语义表达了AspectJ和AspectC++的元素和织入机制。在这个方法中,方面继承自类,切入点和通知继承自特征,这样切入点和通知是方面的一部分,方面与基本类的关系用横切依赖表示。切入点的图符可以表达多个方面在相同连接点的横切行为,通知以一致的方式建模结构横切和行为横切,通过在顺序图上新加一个通知发出焦点,并通知表示为消息,这样可以清晰建模通知在何时何处怎样影响系统的行为。

【Abstract】 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.

【关键词】 面向方面编程面向方面建模AspectJAspectC++UML
【Key words】 AOPAOMAspectJAspectC++UML
【基金】 国家自然科学基金资助项目(60474072,60174050);广东省自然科学基金资助项目(04009465,010059);广东省高校自然科学研究基金资助项目(Z03024)
  • 【文献出处】 计算机工程 ,Computer Engineering , 编辑部邮箱 ,2006年19期
  • 【分类号】TP311.52
  • 【被引频次】13
  • 【下载频次】154
节点文献中: 

本文链接的文献网络图示:

本文的引文网络