ECOOP 2015
Sun 5 - Fri 10 July 2015 Prague, Czech Republic
Sun 5 Jul 2015 14:00 - 14:30 at FIT-107 - Session 2

We propose a context-oriented programming (COP) language that allows layers to define base methods, while layers can be asynchronously activated and deactivated. Base methods in layers greatly enhances modularity because they extend classes’ interface without modifying the original class definitions. However, calling such a method defined in a layer is tricky as the layer may not be active when the method is called. We tackle this problem by introducing a method lookup mechanism that uses the lexical scope of a method invocation to COP; i.e., besides currently activated layers, the layer where the method invocation is written, as well as layers on which that layer depends, are considered for method lookup. We implemented this mechanism in ServalCJ, a COP language that supports asynchronous layer activation as well as synchronous layer activation.

Sun 5 Jul
Times are displayed in time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change

13:30 - 15:00: Session 2COP at FIT-107
13:30 - 14:00
Connecting Object Constraints with Context-oriented Programming: Scoping Constraints with Layers and Activating Layers with Constraints
Stefan LehmannHasso-Plattner-Institute, Potsdam, Tim FelgentreffHasso-Plattner-Institute, Potsdam, Robert HirschfeldHPI
14:00 - 14:30
Method Safety Mechanism for Asynchronous Layer Deactivation
Tetsuo KaminaRitsumeikan University, Tomoyuki AotaniTokyo Institute of Technology, Hidehiko MasuharaTokyo Institute of Technology, Atsushi IgarashiKyoto University
14:30 - 15:00
Context Slices: A lightweight discovery module for adaptations
Nicolás CardozoTrinity College Dublin, Ireland, Siobhán ClarkeTrinity College Dublin, Ireland