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

关于AOP实现机制和应用的研究
引用本文:张广红,陈平.关于AOP实现机制和应用的研究[J].计算机工程与设计,2003,24(8):14-17.
作者姓名:张广红  陈平
作者单位:西安电子科技大学,软件工程研究所,陕西,西安,710071
摘    要:AOP(Aspect-Oriented Programming)是一种支持横切关注的分解的技术,表达更高的抽象层次。它对于横切关注点就像面向对象程序设计对于对象封装和继承一样,提供了能够明确捕获横切结构的语言机制。一个模块化良好的横切关注点叫一个侧面(aspect)。首先介绍了AOP的基本思想,然后针对侧面代码和功能代码的编织问题讨论了几种典型的AOP实现机制的特点,优势及缺陷,最后展望了AOP的应用和发展方向,为进一步研究提供参考。

关 键 词:面向对象  程序设计  对象封装  继承  AOP  功能代码
文章编号:1000-7024(2003)08-0014-04

Implementation mechanisms and application of AOP
ZHANG Guang-hong,CHEN Ping.Implementation mechanisms and application of AOP[J].Computer Engineering and Design,2003,24(8):14-17.
Authors:ZHANG Guang-hong  CHEN Ping
Abstract:AOP (Aspect-Oriented Programming) is a technique for separation of crosscutting concerns which expresses higher abstraction level. AOP does for crosscutting concerns what OOP has done for object encapsulation and inheritance-it provides language mechanisms that explicitly capture crosscutting structure. A well-modularized crosscutting concern is called an aspect. This paper introduces the fundamental ideas of AOP, discusses the features, advantages and disadvantages of several typical implementation mechanisms of AOP according to the weaving of aspect code and component code. The prospect of the application and development direction of AOP is presented. This paper means to provide some references for further research on AOP.
Keywords:AOP  aspect code  component code  weave  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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