一种基于组件的aspect-oriented编程框架  被引量:2

An Aspect-oriented Framework Based on Servant

在线阅读下载全文

作  者:龚育昌[1] 张敏[1] 乔磊[1] 贾永泉[1] 

机构地区:[1]中国科学技术大学计算机科学技术系,安徽合肥230027

出  处:《小型微型计算机系统》2008年第7期1225-1229,共5页Journal of Chinese Computer Systems

基  金:国家自然科学基金项目(60273042)资助;安徽省自然科学基金项目(03042203)资助

摘  要:面向方面的编程(AOP:aspect-oriented programming)是一种新的编程技术.它引进了aspect,将影响多个模块的行为封装到一个可重用模块中,允许程序员对横切(crosscutting concerns)进行模块化,从而消除了面向对象编程(OOP:object-oriented programming)引起的代码混乱和分散问题.本文讨论了在服务体模型上实现的一种aspect-oriented编程框架.这个编程框架使用aspect组件,定义了对OOP语言的扩展,可方便将模块化的aspect代码扩展到源程序中,解决了OOP模型在这方面的不足.Aspect Oriented Programming (AOP) is a new programming technology. It introduces aspect which packages the behavior that impacts multiple models into a reusable model, and it allows programmers to model crosscutting concerns and eliminates the code tangling and scattering caused by OOP. The code is more readable and easier to maintain. This paper describes the aspect-oriented programming framework implemented upon Servant. The framework enables extension of application semantics for handling well-separated concerns. This is achieved with a software entity called an aspect component. Disadvantages of OOP are solved under this framework.

关 键 词:面向方面 服务体模型 编程框架 

分 类 号:TP316[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象