Partial behavioral reflection
Éric Tanter, Jacques Noyé, Denis Caromel et al. · 2003
Behavioral reflection is a powerful approach for adapting the behavior of running applications. In this paper we present and motivate partial behavioral reflection, an approach to more efficient and flexible behavioral reflection. We expose the spatial and temporal dimensions of such reflection, and propose a model of partial behavioral reflection based on the notion of hooksets. In the context of Java, we describe a reflective architecture offering appropriate interfaces for static and dynamic configuration of partial behavioral reflection at various levels, as well as Reflex, an open reflective extension for Java implementing this architecture. Reflex is the first extension that fully supports partial behavioral reflection in a portable manner, and that seamlessly integrates load-time and runtime behavioral reflection. The paper shows preliminary benchmarks and examples supporting the approach. The examples, dealing with the observer pattern and asynchronous communication via transparent futures, also show the interest of partial behavioral reflection as a tool for open dynamic Aspect-Oriented Programming.
Cited by 111 works. doi:10.1145/949305.949309
Authors
References
- Design Patterns: Elements of Reusable Object-Oriented Software
- The structure of the “THE”-multiprogramming system
- On the criteria to be used in decomposing systems into modules
- Aspect-oriented programming
- Aspect-Oriented Programming
- An Overview of AspectJ
- Aspect-oriented programming
- MULTILISP: a language for concurrent symbolic computation
- The structure of “THE”-multiprogramming system
- The Art of the Metaobject Protocol