Uniting Global and Local Context Behavior with Context Petri Nets

Authors
Nicolás Cardozo, Sebastián González, Kim Mens, Theo DHondt'
Tags
,
Title
Uniting Global and Local Context Behavior with Context Petri Nets
Authors
Nicolás Cardozo, Sebastián González, Kim Mens, Theo DHondt'
 cardozo12gctx.pdf Δ   253Kb   03 Jun 2012
Type
In Proceedings
Book title
4th International Workshop on Context-Oriented Programming
Series
COP'12
Number
3
Pages
1 -- 6
Publisher
ACM press
Address
Beijing, China
Year
2012

Abstract

Context-oriented programming enables adaptation of systems to their execution environment. Behavioral adaptations are defined in the system and then associated to a context. Such adaptations are made available at runtime when their context is deemed more appropriate by the execution environment. Context activation is reified using two techniques. Global to all running threads in the system, or local to a particular thread of execution. Providing one technique or the other may hinder the adaptable capabilities of the system. This paper extends the context Petri nets model to unify global and local context behavior. Global and local context behavior are represented as multicolored tokens in context Petri nets, by assigning a color to each thread in the system. By means of context Petri nets, context-oriented systems can unambiguously adapt their behavior globally, or to a particular thread of execution.

Tags Tags: ,


BibTeX Record
  @inproceedings{RELEASeD-2012-786780,
    title = {Uniting Global and Local Context Behavior with Context Petri Nets},
    author = {Nicolás Cardozo and Sebastian Gonzalez and Kim Mens and Theo DHondt'},
    year = {2012},
    number = {3},
    pages =  {1 -- 6},
    booktitle = {4th International Workshop on Context-Oriented Programming},
    publisher = {ACM press},
    address = {Beijing, China},
    series = {COP'12},
  }