Reflective State pattern with dynamic constructiveness

  • Jiang Hong
  • He Ke-qing
  • Ying Shi
UML and Software Pattern


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.

Key words

role model state design pattern reflective pattern role object pattern 

CLC number

TP 311.5 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. [1]
    Gama E, Helm R, Johnson R,et al. Design Patterns: Elements of Reusable Object-Oriented Software. New York: Addison-Wesley Publishing inc., 1995.Google Scholar
  2. [2]
    Buschmann F, Meunier R, Rohnert H,et al. A System of Patterns: pattern-oriented software architecture. New York: John Wiley & Sons inc., 1996.Google Scholar
  3. [3]
    Show M, Garlan D.Software Architecture — Perspectives on an Emerging Discipline. New Jersey: Prentice Hall, inc. 1996.Google Scholar
  4. [4]
    Baumer D, Riehel D, Siberski W,et al. The Role Object Pattern.Proceedings of PloP ’97, Monticello, Illinois, US, 1997.Google Scholar
  5. [5]
    Ferreira L L, Rubira C M F. The Reflective State Pattern.Proceedings of PloP ’98, Monticello, Illinois, US, 1998.Google Scholar

Copyright information

© Springer 2001

Authors and Affiliations

  • Jiang Hong
    • 1
  • He Ke-qing
    • 1
  • Ying Shi
    • 2
  1. 1.College of ComputerWuhan UniversityWuhanChina
  2. 2.State Key Laboratory of Software EngineeringWuhan UniversityWuhanChina

Personalised recommendations