Can I do Aspect Oriented Programming in Scala?

前端 未结 2 397
無奈伤痛
無奈伤痛 2020-12-13 02:41

I\'m not talking about mimicking AOP features in Scala (i.e. using Traits instead of Aspects), I\'m wondering is it possible to do true AOP in Scala (i.e. advices, aspects,

2条回答
  •  被撕碎了的回忆
    2020-12-13 03:01

    We have had no problems using Spring AOP with our Scala classes. It's not making any bytecode modifications though (only proxying).

提交回复
热议问题