|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MethodInterceptor
A MethodInterceptor intercepts a MethodInvocation to perform before or after logic (aka 'advice').
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.
| Method Summary | |
|---|---|
Object |
invoke(MethodInvocation methodInvocation)
Invokes the specified MethodInvocation, allowing implementations to perform pre/post/finally
surrounding the actual invocation. |
| Method Detail |
|---|
Object invoke(MethodInvocation methodInvocation)
throws Throwable
MethodInvocation, allowing implementations to perform pre/post/finally
surrounding the actual invocation.
methodInvocation - the MethodInvocation to execute.
Throwable - if the method invocation throws a Throwable or if an error occurs in pre/post/finally advice.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||