计算机工程与应用 ›› 2007, Vol. 43 ›› Issue (33): 92-97.

• 学术探讨 • 上一篇    下一篇

方面编织策略研究进展及图形化方面编织框架

王 斌,周 亮,桂卫华   

  1. 中南大学 信息科学与工程学院,长沙 410083
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-11-21 发布日期:2007-11-21
  • 通讯作者: 王 斌

Research & development of aspect weaving strategy and graphic aspect weaving framework

WANG Bin,ZHOU Liang,GUI Wei-hua   

  1. College of Information Science & Engineering,Central South University,Changsha 410083,China
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-11-21 Published:2007-11-21
  • Contact: WANG Bin

摘要: 目前AOP作为OOP的扩展和补充,成为软件工程领域中的研究热点,其核心思想是分离关注点,实现横切关注点的模块化。实现关注点分离的关键技术之一是方面的编织。重点阐述了AOP系统中方面的具体编织策略,包括方面编织实现策略和织入时间策略。详细介绍了目前四种主流AOP系统:AspectJ、AspectWerkz、Spring AOP以及JBoss AOP的编织机制和技术,通过分析和总结目前AOP系统方面编织策略的优缺点,提出了一种基于XML的图形化方面编织框架——XbGAWF,以及XbGAWF与不同AOP平台的集成模式。

关键词: 方面, 编织策略, 编织框架, JMangler

Abstract: At present,as an extension and complementary of OOP(Object Oriented Programming),AOP(Aspect Oriented Programming) becomes the research hot topic of software engineering.The main idea of AOP is separation of concerns and modularization of these cross-cut concerns.One of the key technologies of implementing this goal in AOP systems is weaving aspect technology.This paper explains the concrete aspect weaving strategies,including aspect implementing strategies and weaving time strategies.Moreover,it also presents the weaving mechanism and technology of four mainstream AOP systems:AspectJ,AspectWerkz,Spring AOP and JBoss AOP.After analyzing and summarizing the pros and cons of present weaving strategies and technology,this paper proposes a graphic aspect weaving framework based on XML——XbGAWF and its integrating pattern with other AOP platform.

Key words: aspect, weaving strategy, weaving framework, JMangler