After discussing the reflective method of structure and behavior in the State design pattern based on Role Object pattern and the Reflective pattern of software architecture, this paper proposes a reflective state pat...After discussing the reflective method of structure and behavior in the State design pattern based on Role Object pattern and the Reflective pattern of software architecture, this paper proposes a reflective state pattern with dynamic constructiveness. This paper explains the meta level and the base level, which are two levels of this pattern, and specifies the relation of two levels by using Meta Object Protocol (MOP). Then it discusses mechanism of interception and reification for reflecting base object from Meta object. Finally this paper gives an example of network server for applying the Reflective State pattern.展开更多
基金The research wsa supported in part by the Middleware Software Division of Software Group of Fujitsu L imited inJapantechnolo
文摘After discussing the reflective method of structure and behavior in the State design pattern based on Role Object pattern and the Reflective pattern of software architecture, this paper proposes a reflective state pattern with dynamic constructiveness. This paper explains the meta level and the base level, which are two levels of this pattern, and specifies the relation of two levels by using Meta Object Protocol (MOP). Then it discusses mechanism of interception and reification for reflecting base object from Meta object. Finally this paper gives an example of network server for applying the Reflective State pattern.