计算机与现代化 ›› 2009, Vol. 1 ›› Issue (11): 85-88,9.doi:

• 网络与通信 • 上一篇    下一篇

一种.NET平台下AOP框架的实现方法

胡 冰,程家兴,郭建业   

  1. 安徽大学计算智能与信号处理教育部重点实验室,安徽 合肥 230039
  • 收稿日期:2008-11-17 修回日期:1900-01-01 出版日期:2009-11-30 发布日期:2009-11-30

An Approach to Implement AOP Framework Under .NET Platform

HU Bing, CHENG Jia-xing, GUO Jian-ye   

  1. Key Lab of Intelligent Computing & Signal Processing, Ministry of Education, Anhui University, Hefei 230039, China
  • Received:2008-11-17 Revised:1900-01-01 Online:2009-11-30 Published:2009-11-30

摘要: AOP(Aspect-Oriented Programming)技术是一种在软件开发中实现核心关注点和横切关注点分离的技术,是对面向对象技术不足处的补充。本文首先介绍AOP的相关概念,然后分析AOP的实现机制,最后实现了一个.NET平台下的AOP框架并给出应用实例。

关键词: 面向方面程序设计, 织入, .NET平台

Abstract: Aspect-Oriented Programming is a methodology to separate cross cut code across different modules in a software system. It can assist OOP to remove its shortcomings. Some basic concepts in AOP are introduced firstly. Then the implementation mechanisms of AOP are analyzed. Finally an approach to implement AOP Framework under .NET platform and a corresponding example to demonstrate it are given.

Key words: AOP, weaving, .NET platform