Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/2068736.2068738acmotherconferencesArticle/Chapter ViewAbstractPublication PagesecoopConference Proceedingsconference-collections
research-article

Safer context (de)activation: through the prompt-loyal strategy

Published: 25 July 2011 Publication History
  • Get Citation Alerts
  • Abstract

    Context-oriented programming languages provide language abstractions for the dynamic activation and deactivation of behavioral adaptations, based on the system's context of execution. As contexts are freely activated and deactivated, their associated behavior adaptations are added and removed to and from the system, which may break its consistency with respect to other available adaptations. To manage consistency between adaptations this paper introduces a model for the safe activation and deactivation of contexts. The model consists of two approaches, prompt-loyal for a delayed context (de)activation, and prompt for an immediate context (de)activation.

    References

    [1]
    M. Appeltauer, R. Hirschfeld, M. Haupt, J. Lincke, and M. Perscheid. A comparison of context-oriented programming languages. In International Workshop on Context-Oriented Programming, pages 1--6, New York, NY, USA, 2009. ACM Press. ISBN 978-1-60558-538-3.
    [2]
    K. Barrett, B. Cassels, P. Haahr, D. A. Moon, K. Playford, and P. T. Withington. A monotonic superclass linearization for Dylan. In Proceedings of the ACM Conference on Object-Oriented Programming Systems, Languages, and Applications, pages 69--82. ACM Press, 1996. ISBN 0-89791-788-X.
    [3]
    P. Costanza and R. Hirschfeld. Language constructs for context-oriented programming: an overview of ContextL. In Proceedings of the Dynamic Languages Symposium, pages 1--10. ACM Press, Oct. 2005. Collocated with OOPSLA'05.
    [4]
    B. Desmet, J. Vallejos, P. Costanza, and R. Hirschfeld. Layered design approach for context-aware systems. In Proceedings of 1st International Workshop on Variability Modelling of Software-intensive Systems (VaMoS 2007), pages 157--165. Technical Report at Irish Software Engineering Research Centre (Lero), Jan. 2007.
    [5]
    S. González. Programming in Ambience: Gearing Up for Dynamic Adaptation to Context. PhD thesis, Université catholique de Louvain, Oct. 2008. URL http://hdl.handle.net/2078.1/19684. Collection facultaire des thèses EPL, 211/2008. Promoted by Prof. Kim Mens.
    [6]
    S. González, K. Mens, and A. Cádiz. Context-Oriented Programming with the Ambient Object System. Journal of Universal Computer Science, 14(20):3307--3332, 2008. ISSN 0948-6968.
    [7]
    S. González, N. Cardozo, K. Mens, A. Cádiz, J.-C. Libbrecht, and J. Goffaux. Subjective-C: Bringing context to mobile platform programming. In Proceedings of the International Conference on Software Language Engineering, volume 6563 of Lecture Notes in Computer Science, pages 246--265. Springer-Verlag, 2011. ISBN 978-3-642-19439-9.
    [8]
    L. Salzman and J. Aldrich. Prototypes with multiple dispatch: An expressive and dynamic object model. In Proceedings of the European Conference on Object-Oriented Programming, volume 3586 of Lecture Notes in Computer Science, pages 312--336. Springer-Verlag, 2005. ISBN 978-3-540-27992-1.

    Cited By

    View all
    • (2023)Auto-COPInformation and Software Technology10.1016/j.infsof.2023.107308164:COnline publication date: 1-Dec-2023
    • (2017)Context-Aware Software Variability through Adaptable InterpretersIEEE Software10.1109/MS.2017.412122234:6(83-88)Online publication date: Nov-2017
    • (2014)Towards assessing the complexity of object migration in dynamic, feature-oriented software product linesProceedings of the 8th International Workshop on Variability Modelling of Software-Intensive Systems10.1145/2556624.2556645(1-8)Online publication date: 22-Jan-2014

    Index Terms

    1. Safer context (de)activation: through the prompt-loyal strategy

      Recommendations

      Comments

      Information & Contributors

      Information

      Published In

      cover image ACM Other conferences
      COP '11: Proceedings of the 3rd ACM International Workshop on Context-Oriented Programming
      July 2011
      45 pages
      ISBN:9781450308915
      DOI:10.1145/2068736
      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Sponsors

      • Lancaster University: Lancaster University
      • AITO: Assoc Internationale por les Technologies Objects

      In-Cooperation

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      Published: 25 July 2011

      Permissions

      Request permissions for this article.

      Check for updates

      Author Tags

      1. behavior adaptation
      2. consistency management
      3. context-oriented programming

      Qualifiers

      • Research-article

      Conference

      ECOOP '11
      Sponsor:
      • Lancaster University
      • AITO

      Acceptance Rates

      Overall Acceptance Rate 17 of 25 submissions, 68%

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • Downloads (Last 12 months)2
      • Downloads (Last 6 weeks)0
      Reflects downloads up to 10 Aug 2024

      Other Metrics

      Citations

      Cited By

      View all
      • (2023)Auto-COPInformation and Software Technology10.1016/j.infsof.2023.107308164:COnline publication date: 1-Dec-2023
      • (2017)Context-Aware Software Variability through Adaptable InterpretersIEEE Software10.1109/MS.2017.412122234:6(83-88)Online publication date: Nov-2017
      • (2014)Towards assessing the complexity of object migration in dynamic, feature-oriented software product linesProceedings of the 8th International Workshop on Variability Modelling of Software-Intensive Systems10.1145/2556624.2556645(1-8)Online publication date: 22-Jan-2014

      View Options

      Get Access

      Login options

      View options

      PDF

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      Media

      Figures

      Other

      Tables

      Share

      Share

      Share this Publication link

      Share on social media