Skip to Main content Skip to Navigation
New interface
Reports (Research report)

Declarative Events for Object-Oriented Programming

Vaidas Gasiūnas 1 Lucas Satabin 1 Mira Mezini 1 Angel Núñez 2, 3 Jacques Noyé 2, 3 
2 ASCOLA - Aspect and composition languages
LINA - Laboratoire d'Informatique de Nantes Atlantique, Département informatique - EMN, Inria Rennes – Bretagne Atlantique
Abstract : In object-oriented designs inversion of control is achieved by an event-driven programming style based on imperatively triggered events. An alternative approach can be found in aspect-oriented programming, which defines events as declarative queries over implicitly available events. This helps to localize definition of events and avoid preplanning, but lacks a clean integration with object-oriented features and principles. The contribution of this work is a concept of object-oriented events that combines imperative, declarative and implicit events and provides their seamless integration with object-oriented features, preserving encapsulation and modular reasoning. We present an efficient and type-safe implementation of the concept as an extension to the Scala language.
Complete list of metadata

Cited literature [5 references]  Display  Hide  Download
Contributor : Noyé Jacques Connect in order to contact the contributor
Submitted on : Wednesday, June 23, 2010 - 11:35:37 PM
Last modification on : Wednesday, October 26, 2022 - 8:15:59 AM
Long-term archiving on: : Monday, October 22, 2012 - 2:41:16 PM


Files produced by the author(s)


  • HAL Id : inria-00494645, version 1


Vaidas Gasiūnas, Lucas Satabin, Mira Mezini, Angel Núñez, Jacques Noyé. Declarative Events for Object-Oriented Programming. [Research Report] RR-7313, INRIA. 2010, pp.38. ⟨inria-00494645⟩



Record views


Files downloads