public interface MethodInterceptor
Shiro's implementations of this interface mostly have to deal with ensuring a current Subject has the ability to execute the method before allowing it to continue.
Object invoke(MethodInvocation methodInvocation) throws Throwable
MethodInvocation, allowing implementations to perform pre/post/finally surrounding the actual invocation.
Throwable- if the method invocation throws a Throwable or if an error occurs in pre/post/finally advice.
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.