摘要
软件体系结构中的横切关注点增加了软件体系结构的复杂性,从而加剧了体系结构演化与维护的困难。这种设计问题可以通过体系结构层面的重构来进行改善。在已有的横切特征分析方法基础上,提出了一种面向横切特征分析的体系结构自动重构方法。该方法首先基于特征与构件之间的追踪关系分析横切特征,然后将与横切特征有直接追踪关系的构件从初始体系结构中提取出来,实现方面构件,完成体系结构重构。在面向方面体系结构描述语言AO-ADL基础上开发了相应的体系结构重构工具,并针对一个业务系统进行了体系结构重构实验。实验结果表明,该方法能有效地实现体系结构横切特征的自动化重构。
Crosscutting concerns in software architecture increase the complexity of software architecture and the difficulty for evolution and maintenance.This design problem can be improved by refactoring on architectural level.This paper offered an automatic software architecture refactoring method based on the existing analysis of crosscutting feature.At first,this method analyzes crosscutting features based on traceability between features and components.Then those components which are direct trace relation to these crosscutting features are extracted from initial architecture as aspectual components,finishing architecture refactoring.We developed a architecture refactoring tool based on Aspect-Oriented Architecture Description Language AO-ADL.Experiments on architecture refactoring were taken on a business system.The result shows this method can refactor crosscutting concerns in software architecture effectively and automatically.
出处
《计算机科学》
CSCD
北大核心
2010年第9期141-146,183,共7页
Computer Science
基金
国家自然科学基金(No.60703092)
国家863计划(No.2007AA01Z125
No.2009AA010307)资助
关键词
特征
横切
行为
方面绑定
方面构件
体系结构
重构
Feature
Crosscutting
Behaviour
Aspectual binding
Aspectual component
Architecture
Refactoring