Java: How to listen on methods invocation without registering each object explicitely?

前端 未结 3 1020
旧时难觅i
旧时难觅i 2021-01-26 11:42

I want to listen on method calls in order to attach additional behavior dynamically around the call. I\'ve already done it on JUnit methods with a custom annotation and runner.

3条回答
提交回复
热议问题