Here is a small project which shows how to create the Scala
counterpart of Java proxies:
https://github.com/namin/scala-proxy
It uses Scala reflection instead of Java reflection for the invocation
handlers. In particular, see:
https://github.com/namin/scala-proxy/blob/master/src/main/scala/scala/reflect/proxy/ScalaProxy.scala
https://github.com/namin/scala-proxy/blob/master/src/main/scala/test/Main.scala
>
> Thanks,
I hope this helps. Please don't hesitate if you have any questions.
Cheers,
~n
>
> Alberto