Which method is being called?

How can I get the name of the method that will be called in action from within the interceptor?

+4
source share
1 answer

Well, thanks to the source of the locations, I found the answer.

invocation.getProxy().getMethod(); 

Where the call to ActionInvocation is passed to your interceptor.

+8
source

Source: https://habr.com/ru/post/1301300/


All Articles