Event-specific software composition in context-oriented programming

  • Authors:
  • Malte Appeltauer;Robert Hirschfeld;Hidehiko Masuhara;Michael Haupt;Kazunori Kawauchi

  • Affiliations:
  • Hasso-Plattner-Institute, University of Potsdam, Germany;Hasso-Plattner-Institute, University of Potsdam, Germany;Graduate School of Arts and Science, University of Tokyo, Japan;Hasso-Plattner-Institute, University of Potsdam, Germany;Graduate School of Arts and Science, University of Tokyo, Japan

  • Venue:
  • SC'10 Proceedings of the 9th international conference on Software composition
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

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.