spring-framework / org.springframework.aop.interceptor / ExposeInvocationInterceptor / currentInvocation

currentInvocation

open static fun currentInvocation(): MethodInvocation

Return the AOP Alliance MethodInvocation object associated with the current invocation.

Exceptions

IllegalStateException - if there is no AOP invocation in progress, or if the ExposeInvocationInterceptor was not added to this interceptor chain

Return
the invocation object associated with the current invocation