spring-framework / org.aopalliance.intercept / MethodInvocation

MethodInvocation

interface MethodInvocation : Invocation

Description of an invocation to a method, given to an interceptor upon method-call.

A method invocation is a joinpoint and can be intercepted by a method interceptor.

Author
Rod Johnson

See Also
MethodInterceptor

Functions

getMethod

abstract fun getMethod(): Method

Get the method being called.

This method is a frienly implementation of the Joinpoint#getStaticPart() method (same result).

Inherited Functions

getArguments

abstract fun getArguments(): Array<Any>

Get the arguments as an array object. It is possible to change element values within this array to change the arguments.