面向方面編程中可復用方面庫的構建及其應用研究
本文選題:面向方面編程 + 軟件復用 ; 參考:《武漢工程大學》2016年碩士論文
【摘要】:面向方面編程(AOP)為模塊化封裝橫切關注點提供了很好的支持。在面向對象編程(OOP)中,為了提高軟件開發(fā)效率,開發(fā)者需要更多的使用可復用的庫,在AOP中也不例外。要開發(fā)出可復用的方面庫仍然是一個挑戰(zhàn),這是由于方面程序和主程序之間存在著很強的耦合。一些針對某一特定橫切關注領域,如:安全、并發(fā)、持久化、事務等的可復用方面已經被研究者提出。但對于可廣泛應用的可復用方面庫的設計方法的研究還不足。目前關于如何對封裝了橫切關注點的方面進行有效的描述、管理和檢索復用等操作以達到高效復用方面的問題研究并沒有得到足夠重視。本文對面向方面編程中可復用方面庫的構建現(xiàn)狀進行了研究分析,從特定橫切關注領域的方面庫構建和方面庫構建模式和規(guī)則兩個角度,介紹了現(xiàn)有方面庫研究,并分析了現(xiàn)有方法的不足。本文詳細研究分析了現(xiàn)有五種典型的實現(xiàn)不同橫切功能的方面庫實現(xiàn),并從通用性、易用性、依賴語言、復用機制和工具支持這五個方面對它們進行了詳細的比較分析。本文提出了一種可復用方面庫的構建方法。該方法主要包括方面庫設計元模型,方面庫描述模型和基于AspectJ的可復用方面定義方法三部分內容,為開發(fā)者提高方面庫復用性提供支持;谠摲椒,本文設計并實現(xiàn)了方面庫管理工具,該工具主要提供方面庫的基本管理、可復用方面查詢和自動生成具體方面的功能。本文以信息管理系統(tǒng)和設計模式為例,基于本文提出的可復用方面庫構建方法構建方面庫,進行了實例應用。本文的研究成果為開發(fā)者在面向方面編程中,提供了一個有效開發(fā),管理,以及檢索復用可復用方面資源的方法。
[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];計算機與數(shù)字工程;2006年09期
6 閆兆振;賈作皆;;AOP技術及其應用[J];福建電腦;2006年07期
7 馮艷蕾;;AOP技術的研究與探討[J];科技廣場;2007年07期
8 張京軍;韓范玉;李慧;;面向方面重構的研究與實現(xiàn)[J];微計算機信息;2007年33期
9 侯著榮;王凱;王聰麗;;AOP在經費預算執(zhí)行審核系統(tǒng)中的應用[J];計算機應用與軟件;2011年07期
10 蔣巍;潘群;;AOP技術的研究與探索[J];福建電腦;2007年06期
相關會議論文 前3條
1 何思平;方美琪;;Spring AOP技術在電子商務中的應用[A];IT服務促進企業(yè)信息化——第十一屆中國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
本文鏈接:http://sikaile.net/kejilunwen/ruanjiangongchenglunwen/2037382.html