Method Proxy-Based AOP in Scala
By: Daniel Spiewak, Tian Zhao
Abstract
This paper describes a framework to implement an AOP extension to the Scala language using higher-order functions as AOP proxies. This framework allows programmers to specify poin tcuts and aspects using a Domain Specific Language (DSL) embedded within Scala. The technique uses Scala's higher-order functions to intercept method calls with minimal syntactic overhead imposed on the base program.
Cite as:
Daniel Spiewak, Tian Zhao, “Method Proxy-Based AOP in Scala”, Journal of Object Technology, Volume 8, no. 7 (November 2009), pp. 149-169, doi:10.5381/jot.2009.8.7.a5.
PDF | HTML | DOI | BiBTeX | Tweet this | Post to CiteULike | Share on LinkedIn