1. 4

The concept of a general purpose aspect is introduced where an aspect transparently forces cross-cutting behavior on object classes and other software entities. A reusable aspect is further described for use as part of an aspect library.

  1.  

  2. 2

    Here is an example implementation of this pattern: https://github.com/mgechev/aspect.js

    scientific paper: https://www.cs.ubc.ca/~gregor/papers/kiczales-ECOOP1997-AOP.pdf