When are Java annotations executed?

后端 未结 7 2204
执念已碎
执念已碎 2021-02-06 04:12

I am just looking to write some annotation which can execute at runtime, before or immediately after a service method is invoked.

I don\'t know if they are executed at r

7条回答
  •  眼角桃花
    2021-02-06 04:58

    They actually can be read in both environments, depending on the retention policy you set.

提交回复
热议问题