Surefire way of checking whether aspectJ mode is working for spring transaction management

China☆狼群 提交于 2019-12-11 07:34:42

问题


I am working on a spring boot application. I have tried to enable AspectJ mode for transaction management as follows:

@EnableTransactionManagement(mode = AdviceMode.ASPECTJ)

I am suspecting the aspectJ mode is not working and I would like to know whether or not AspectJ mode is indeed enabled for my application.

Can someone please provide a way to check that (e.g. through enabling a logger or debugging)?

来源:https://stackoverflow.com/questions/44115996/surefire-way-of-checking-whether-aspectj-mode-is-working-for-spring-transaction

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!