Publikation

Zurück zur Übersicht

Delegation Proxies: The Power of Propagation

Publikationsart Peer-reviewed
Publikationsform Tagungsbeitrag (peer-reviewed)
Publikationsjahr 2014
Autor/in Wernli Erwann, Nierstrasz Oscar, Teruel Camille, Ducasse Stephane
Projekt Agile Software Assessment
Alle Daten anzeigen

Tagungsbeitrag (peer-reviewed)

Titel der Proceedings Proceedings of the 13th International Conference on Modularity, MODULARITY '14
Status Publiziert
DOI 10.1145/2577080.2577081

Open Access

Abstract

Scoping behavioral variations to dynamic extents is useful to support non-functional requirements that otherwise result in cross-cutting code. Unfortunately, such variations are difficult to achieve with traditional reflection or aspects. We show that with a modification of dynamic proxies, called delegation proxies, it becomes possible to reflectively implement variations that propagate to all objects accessed in the dynamic extent of a message send. We demonstrate our approach with examples of variations scoped to dynamic extents that help simplify code related to safety, reliability, and monitoring.