面向方面编程中可复用方面库的构建及其应用研究
本文选题:面向方面编程 + 软件复用 ; 参考:《武汉工程大学》2016年硕士论文
【摘要】:面向方面编程(AOP)为模块化封装横切关注点提供了很好的支持。在面向对象编程(OOP)中,为了提高软件开发效率,开发者需要更多的使用可复用的库,在AOP中也不例外。要开发出可复用的方面库仍然是一个挑战,这是由于方面程序和主程序之间存在着很强的耦合。一些针对某一特定横切关注领域,如:安全、并发、持久化、事务等的可复用方面已经被研究者提出。但对于可广泛应用的可复用方面库的设计方法的研究还不足。目前关于如何对封装了横切关注点的方面进行有效的描述、管理和检索复用等操作以达到高效复用方面的问题研究并没有得到足够重视。本文对面向方面编程中可复用方面库的构建现状进行了研究分析,从特定横切关注领域的方面库构建和方面库构建模式和规则两个角度,介绍了现有方面库研究,并分析了现有方法的不足。本文详细研究分析了现有五种典型的实现不同横切功能的方面库实现,并从通用性、易用性、依赖语言、复用机制和工具支持这五个方面对它们进行了详细的比较分析。本文提出了一种可复用方面库的构建方法。该方法主要包括方面库设计元模型,方面库描述模型和基于AspectJ的可复用方面定义方法三部分内容,为开发者提高方面库复用性提供支持。基于该方法,本文设计并实现了方面库管理工具,该工具主要提供方面库的基本管理、可复用方面查询和自动生成具体方面的功能。本文以信息管理系统和设计模式为例,基于本文提出的可复用方面库构建方法构建方面库,进行了实例应用。本文的研究成果为开发者在面向方面编程中,提供了一个有效开发,管理,以及检索复用可复用方面资源的方法。
[Abstract]:Aspect-oriented programming (AOP) provides a good support for modular encapsulation of crosscutting concerns. In Object-Oriented programming (OOPP), in order to improve the efficiency of software development, developers need to use more reusable libraries, and AOP is no exception. Developing reusable aspect libraries remains a challenge because of the strong coupling between the aspect program and the main program. Some reusable aspects such as security, concurrency, persistence, transaction and so on have been proposed for a specific crosscutting area of concern. However, the research on the design method of reusable aspect library which can be widely used is still insufficient. At present, the research on how to effectively describe the aspects that encapsulate the crosscutting concerns, and how to manage and retrieve the operations to achieve efficient reuse have not been paid enough attention to. In this paper, the current situation of the construction of reusable aspect library in aspect-oriented programming is analyzed, and the existing aspect library research is introduced from two angles: aspect library construction and aspect library construction model and rules in specific crosscutting areas. The shortcomings of the existing methods are analyzed. In this paper, five typical aspect library implementations of different crosscutting functions are studied and analyzed in detail, and they are compared and analyzed in detail from the following five aspects: generality, usability, dependency language, reuse mechanism and tool support. This paper presents a method of building reusable aspect library. This method mainly includes three parts: aspect library design metamodel, aspect library description model and reusable aspect definition method based on AspectJ, which provides support for developers to improve the reuse of aspect library. Based on this method, an aspect library management tool is designed and implemented in this paper. The tool mainly provides the basic management of the aspect library, the function of reusable aspect query and automatic generation of specific aspect. This paper takes the information management system and design pattern as an example, builds the aspect library based on the reusable aspect library proposed in this paper, and carries on the example application. The results of this paper provide an effective way for developers to develop, manage, and retrieve reusable aspect resources in aspect-oriented programming.
【学位授予单位】:武汉工程大学
【学位级别】:硕士
【学位授予年份】:2016
【分类号】:TP311.52
【相似文献】
相关期刊论文 前10条
1 王黎明;;准确识别横切关注点依赖关系和影响范围的方法[J];电信技术;2014年04期
2 郑子儒;;面向方面编程的研究[J];太原科技;2008年04期
3 罗术通;张长海;金英;刘元宁;;通过需求依赖判定横切关注点[J];吉林大学学报(工学版);2011年04期
4 周虹鹏;;面向方面的编程[J];湘潭师范学院学报(自然科学版);2006年02期
5 王彪;姚淑珍;;一种基于模板的面向方面重构框架的研究[J];计算机与数字工程;2006年09期
6 闫兆振;贾作皆;;AOP技术及其应用[J];福建电脑;2006年07期
7 冯艳蕾;;AOP技术的研究与探讨[J];科技广场;2007年07期
8 张京军;韩范玉;李慧;;面向方面重构的研究与实现[J];微计算机信息;2007年33期
9 侯著荣;王凯;王聪丽;;AOP在经费预算执行审核系统中的应用[J];计算机应用与软件;2011年07期
10 蒋巍;潘群;;AOP技术的研究与探索[J];福建电脑;2007年06期
相关会议论文 前3条
1 何思平;方美琪;;Spring AOP技术在电子商务中的应用[A];IT服务促进企业信息化——第十一届中国Java技术及应用交流大会文集[C];2008年
2 张新猛;李红勋;;面向方面设计模型的研究[A];天津市电视技术研究会2013年年会论文集[C];2013年
3 王鑫;邢薇;;面向切面编程(AOP)在J2EE公共问题中应用[A];黑龙江省计算机学会2007年学术交流年会论文集[C];2007年
相关重要报纸文章 前1条
1 本报记者 侯闯;AOP弥补OOP缺陷[N];计算机世界;2003年
相关硕士学位论文 前10条
1 郑锦林;集成问题框架与面向方面的需求建模方法研究[D];广西师范大学;2015年
2 易顺;面向方面编程中可复用方面库的构建及其应用研究[D];武汉工程大学;2016年
3 王阳;横切关注点的逆向探测与封装[D];吉林大学;2004年
4 谌通;代码级横切关注点挖掘方法研究[D];武汉工程大学;2015年
5 叶水琴;基于目标模型的横切关注点识别方法研究[D];武汉工程大学;2015年
6 涂成茂;面向方面软件的需求建模方法研究[D];武汉工程大学;2012年
7 黄雷;面向方面技术在UP中的应用[D];同济大学;2008年
8 张婷燕;基于AOP的轻量级框架的应用研究[D];大连交通大学;2008年
9 韩范玉;面向方面重构的研究[D];河北工程大学;2008年
10 申立军;基于AOP的MVC模式研究与应用[D];大连海事大学;2008年
,本文编号:2037382
本文链接:https://www.wllwen.com/kejilunwen/ruanjiangongchenglunwen/2037382.html