用于支持契约的AOP代码生成器的研究与实现  

Research and Implementation of an AOP Code Generator for Supporting Contracts

在线阅读下载全文

作  者:章程[1] 

机构地区:[1]上海交通大学软件学院软件工程中心

出  处:《微型电脑应用》2007年第1期1-4,18,共5页Microcomputer Applications

摘  要:面向方面编程(AOP)是一种新兴的编程方法,其核心思想是分离程序中的关注点,并提供某种机制,以表达横切多个组件的关注点。契约式设计(DbC)是构建高可靠面向对象系统的设计方法,它通过规定组件间的行为契约来保证程序的正确性。本文简单介绍了AOP和DbC,然后通过尝试在Observer设计模式中加入契约,研究了使用AOP支持DbC的方法,进而设计和实现了一个AOP代码生成器,并分析了该生成器的特点。Aspect-Oriented Programming (AOP) is a burgeonin programming methodology,of which the core idea is to separate the concerns in programs and provide a mechanism to represent the concerns that crosscut multiple components. Design by Contract (DbC) is a design methodology to construct high reliable object-oriented system. It guarantees the correctness of programs by specifying the behavioral contracts between components. This paper firstly gives an introduction to AOP and DbC, then researches the approach to supporting DbC by applying AOP with an attempt to support DbC in Observer design pattern. It also gives a detail description of the design and implementation of an AOP code generator and its remarkable features.

关 键 词:面向方面编程(AOP) 契约式设计(DbC) 代码生成器 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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