Module lettuce.core

Interface MethodInvocation


public interface MethodInvocation
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.

Since:
5.0
Author:
Mark Paluch
See Also:
MethodInterceptor
  • Method Details

    • proceed

      Object proceed() throws Throwable
      Proceed to the next interceptor in the chain.

      The implementation and the semantics of this method depends on the actual joinpoint type (see the children interfaces).

      Returns:
      see the children interfaces' proceed definition
      Throws:
      Throwable - if the invocation throws an exception
    • getMethod

      Method getMethod()
      Returns:
      the originally called Method.
    • getArguments

      Object[] getArguments()
      Returns:
      method call arguments.