摘要
面向方面编程是一项允许编程人员模块化横切关注点的新的编程技术,它引入了“方面”这一概念,“方面”把影响多个模块的行为封装到一个单独的可重用模块中,利用XeroxPARC发行的AspectJ,Java开发者可以很方便地进行面向方面编程。本文介绍了AOP、AspectJ的基本概念并举例说明了AOP在仓储管理系统中的应用。
Aspect-oriented programming(AOP) is a new programming technique that allows programmers to modularize crosscutting concerns,it introduces aspects,which encapsulate behaviors that affect multiple modules into a sole reusable modules. With the recent release of AspectJ by Xerox PARC,Java developers can now easy program in aspect oriented. This article introduces the basic concepts of AOP,AspectJ and illustrates the application of AOP in a storage management system.
出处
《计算机应用与软件》
CSCD
北大核心
2005年第8期42-45,71,共5页
Computer Applications and Software