摘要
首先分析了AOP与OOP的关系,然后介绍了AOP的基本思想和实现机制,列举了JBoss AOP的主要组件,最后给出实例解释了JBoss AOP的实现机制,重点阐述了AOP组件协同工作的过程。
The AOP technology is a kind of new programming technology, and complementary to OOP technology. Having led aspect concept into AOP,it can make a group of the module not being connected mutually have the common behavior encapsulation,and allows the modularization to crosscut concern with the result to eliminate the tangling and scattering of OOP code,thus enhances maintainability and code reuse of the system. The paper first analyzes the relationship between AOP and OOP, then introduces the basic idea of AOP and implementation mechanisms, listed the main components of JBoss AOP. At last, it exemplifies the implementation mechanisms of JBoss AOP,and mainly indicates the collaborated process on AOP components.
出处
《长春工程学院学报(自然科学版)》
2010年第2期116-118,共3页
Journal of Changchun Institute of Technology:Natural Sciences Edition
基金
原劳动和社会保障部课题(LA2007-10)