by Malte Appeltauer,
Robert Hirschfeld,
Hidehiko Masuhara, Michael Haupt and Kazunori Kawauchi
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.
Reference:
Event-specific Software Composition in Context-Oriented Programming (Malte Appeltauer, Robert Hirschfeld, Hidehiko Masuhara, Michael Haupt and Kazunori Kawauchi), In Proceedings of the Conference on Software Composition (SC'10), Springer-Verlag, volume 6144, 2010.
Bibtex Entry:
@inproceedings{appeltauer2010sc,
author = {Malte Appeltauer and Robert Hirschfeld and Hidehiko Masuhara and Michael Haupt and Kazunori Kawauchi},
pdf = {sc2010.pdf},
title = {Event-specific Software Composition in Context-Oriented Programming},
booktitle = {Proceedings of the Conference on Software Composition (SC'10)},
pages = {50--65},
volume = 6144,
doi = {10.1007/978-3-642-14046-4_4},
acceptanceratio = {10/33 (30%)},
opturl = {http://www.springerlink.com/content/e3g04335p55v43m1/},
year = 2010,
series = {Lecture Notes in Computer Science},
address = {Malaga, Spain},
month = jul # { 1-2},
acceptanceratio = {10/33 (30%)},
publisher = {Springer-Verlag},
keywords = {Java, ContextJ},
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.}
}