Event-specific software composition in context-oriented programming

M Appeltauer, R Hirschfeld, H Masuhara… - … Conference, SC 2010 …, 2010 - Springer
M Appeltauer, R Hirschfeld, H Masuhara, M Haupt, K Kawauchi
Software Composition: 9th International Conference, SC 2010, Malaga, Spain …, 2010Springer
Context-oriented programming (COP) introduces dedicated abstractions for the
modularization and dynamic composition of crosscutting context-specific functionality. While
existing COP languages offer constructs for control-flow specific composition, they do not yet
consider the explicit representation of event-specific context-dependent behavior, for which
we observe two distinguishing properties: First, context can affect several control flows.
Second, events can establish new contexts asynchronously. In this paper, we propose new …
Abstract
Context-oriented programming (COP) introduces dedicated abstractions for the modularization and dynamic composition of crosscutting context-specific functionality. While existing COP languages offer constructs for control-flow specific composition, they do not yet consider the explicit representation of event-specific context-dependent behavior, for which we observe two distinguishing properties: First, context can affect several control flows. Second, events can establish new contexts asynchronously. In this paper, we propose new language constructs for event-specific composition and explicit context representation and introduce their implementation in JCop, our COP extension to Java.
Springer