JOURNAL OF SOFTWARE (JSW)
ISSN : 1796-217X
Volume : 2 Issue : 3 Date : September 2007
User-Controlled Reflection on Join Points
Piërre van de Laar and Rob Golsteijn
Full Text: PDF (461 KB)
All aspect orientation languages provide a onesize-fits-all methodology for reflection on join points.
However, the amount of resources necessary for this approach is too high to be applicable in the
context of consumer products. In this industrial research paper, we describe a solution to this
problem and prove via an experiment that it is suitable for our context. In particular, we advocate that
in the context of consumer products the reflective information should be passed explicitly using
dedicated reflection parameters. Furthermore, since reflective information should efficiently encode
the relevant domain knowledge, the user must be in control of the type of the dedicated reflection
parameters. We describe how we implemented user-controlled reflection on join points in our
aspect-oriented framework AspectKoala on top of the component model Koala . We compare
the resource consumption of different approaches to add reflective information on join points using
this implementation. The difference in resource consumption clearly demonstrates the benefits of
our solution for consumer products.
Aspect orientation, reflection, join point, context, embedded system, consumer product.