JCop is a context-oriented programming (COP) extension to the Java programming language. It combines COP features - introduced by its predecessor ContextJ - with new constructs for declarative and event-based layer composition and a first-class event-based context representation. Modularization. Behavioral variations are modularized by layers that can either be defined within classes (layer-in-class) or in dedicated top-level modules (class-in-layer). Layers contain partial method definitions that extend or replace a plain method while their layers are active. Dynamic Composition. JCop provides control-flow specific layer composition as known from other COP languages. In addition, it offers declarative composition statements that are specified within context modules and thus combines COP with concepts of aspect-oriented programming.
References in zbMATH (referenced in 1 article )
Showing result 1 of 1.
- Basile, Davide; Galletta, Letterio; Mezzetti, Gianluca: Safe adaptation through implicit effect coercion (2015)