Interface MethodInterceptor

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      invoke​(MethodInvocation methodInvocation)
      Invokes the specified MethodInvocation, allowing implementations to perform pre/post/finally surrounding the actual invocation.
    • Method Detail

      • invoke

         invoke​(MethodInvocation methodInvocation)
               throws 
        Invokes the specified MethodInvocation, allowing implementations to perform pre/post/finally surrounding the actual invocation.
        Parameters:
        methodInvocation - the MethodInvocation to execute.
        Returns:
        the result of the invocation
        Throws:
        - if the method invocation throws a Throwable or if an error occurs in pre/post/finally advice.