Compile Time and Runtime Reflection for Dynamic Evaluation of Messages : Application to Interactions between Remote Objects
Laurent Berger · 1998
This paper shows how compile time and runtime reflection and object-oriented programming can be used to make the implementation of the problems posed by the dynamic evaluation of messages easier. It describes these problems through interactions, i.e. inter object communications, in a distributed architecture defined in C++ and CORBA. The proposed solutions are based on design patterns with the compile time and runtime reflection through the "open" compiler Open C++. KEYWORDS meta-object protocol, compile time and runtime reflection, design patterns 1 INTRODUCTION When the behavior of an object dynamically varies according to the execution and in a way independent of the object state, we are leading to dynamically evaluate the messages. In interpreted, untyped and not distributed environments some papers [Bos94, DFP95, Duc97b] have proposed severals mechanisms for the dynamic evaluation of messages. We were confronted with this same problem of dynamic evaluation of messages when we...