目前,在设计阶段重用软件体系结构所面临的主要问题是:虽然存在大量的具有重用价值的体系结构制品,但是这些制品却难以得到成功的重用.提出了一种支持软件体系结构设计时重用的ArchBean方法,该方法基于反射机制将支持重用的元信息和体系结构制品本身封装成自包含、自描述的大粒度可重用资源.给出了支持这种方法的反射机制RMRSA和反射式软件体系结构.基于Object-Z形式化描述了PMB协议.详细给出了基于ArchBean方法的支撑工具ArchBean Studio的设计和实施过程.
Currently,the main problem of reusing software architecture at software design stage is that it is difficult to reuse software architecture products,though they are valuable and plentiful in amount.This paper proposes a method called ArchBean supporting the reuse of architectural level designs.Based on reflection mechanism,the ArchBean method encapsulates reusing meta information and software architecture products into coarse granularity reusable resource which are self-description and self-containment.It also proposes a reflection mechanism RMRSA and a reflective software architecture supporting the method.It describes the PMB protocols based on formal specification language Object-Z.Moreover,this paper illustrates the design and implementation process of supporting tool ArchBean Studio based on ArchBean method in detail.