###
DOI:
Journal of Software:2001.12(8):1242-1249

一个可构造的反演状态模式
何克清,应时,何非
(国立先端科学技术研究大学日本 1 武汉大学软件工程国家重点实验室湖北武汉 430072)
A Constructive Pattern for State Reflection
HE Ke qing,YING Shi,HE Fei
()
Abstract
Chart / table
Reference
Similar Articles
Article :Browse 2353   Download 2640
Received:September 06, 2000    Revised:April 17, 2001
> 中文摘要: 为了构造可扩充、可配置、可控制的状态模型,提出了一个可构造的反演状态模式.基于体系结构的反演模式和角色对象模式,讨论了状态设计模式中结构和行为的反演方法及其手段;给出了其反演模式体系结构的元级和基本级对象结构;使用MOP(metaobjeotprotoco1)规程给出了元级和基本级的关系,讨论了反演状态模式的元对象反演到基本级对象群的"截取和求精(interception和reification)”机制.此外,还给出了一个应用可构造的反演状态模式的[记账凭证处理型]应用事例.
Abstract:In order to construct extendable, configurable and controllable state model, a constructive pattern for state reflection is proposed in this paper. Based on the reflective pattern of software architecture and role object pattern, the reflection approach for structure and behavior in the pattern of state design is discussed. At meta level and base level, the object structures for architecture of reflective pattern are designed. The relationship between the meta level and the base level is presented with the protocol of MOP (meta object protocol). The mechanism of interception and reification for object reflections from the meta level to the base level is discussed in the pattern of state reflection. Finally, an example of voucher using the pattern of state reflection is given in this paper.
文章编号:     中图分类号:    文献标志码:
基金项目:国家教育部科学技术重点规划资助项目(99188);武汉市科学技术规划资助项目(20011001001) 国家教育部科学技术重点规划资助项目(99188);武汉市科学技术规划资助项目(20011001001)
Foundation items:
Reference text:

何克清,应时,何非.一个可构造的反演状态模式.软件学报,2001,12(8):1242-1249

HE Ke qing,YING Shi,HE Fei.A Constructive Pattern for State Reflection.Journal of Software,2001,12(8):1242-1249