软件产品线是提高软件开发效率与质量的有效途径,它以体系结构(SA)为蓝图,定义组成产品线的构件与构件之间相互作用的关系,指导基于构件的应用产品组装实现.现有的基于接口连接式的体系结构仅能描述构件间的直接交互,却无法支持产品线可变性所带来的更为复杂的构件交互情况.因此,本文提出一种扩展方面机制的软件产品线体系结构建模及构件组装实现方法,其核心是一套扩展xADL2.0、结合面向方面机制的软件产品线体系结构描述语言.它能支持基于可变性的产品线体系结构设计与定制,并指导应用产品的构件组装过程.在此方法的基础上,我们开发了原型工具FdSPLC,提供对体系结构的可视化建模以及应用产品的自动化生成.
Software product line (SPL) can increase the efficiency and quality of software development. Software'architecture (SA), as the blueprint of SPL, defines the inter-relationships between components and guides the component composition implementation. However, the existing interface connection architecture is limited to describe the direct interactions between components. It cannot support the more complex interaction situations which emerge with the SPL variability. In this paper, we propose a method of software product line architecture modeling and component composition implementation with extension of aspectual mechanism. The core is an architecture description language (ADL) which extends xADL2.0 and combines with aspect-oriented techniques. The ADL supports the design and customization for SPL architecture based on variability, and instructs the component composition process for applications. Furthermore, we have developed a prototype tool FdSPLC which provides the visual modeling of architecture as well as the automatic application derivation.