Interface MethodInterceptor

    • Method Detail

      • invoke

        Object invoke(MethodInvocation methodInvocation)
               throws Throwable
        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:
        Throwable - if the method invocation throws a Throwable or if an error occurs in pre/post/finally advice.