程序包 infra.aop
接口 AfterReturningAdvice
- 所有超级接口:
Advice,AfterAdvice
- 所有已知实现类:
AspectJAfterReturningAdvice
After returning advice is invoked only on normal method return, not if an
exception is thrown. Such advice can see the return value, but cannot change it.
- 从以下版本开始:
- 3.0
- 作者:
- Rod Johnson, TODAY 2021/2/20 22:20
- 另请参阅:
-
方法概要
修饰符和类型方法说明voidafterReturning(Object returnValue, MethodInvocation invocation) Callback after a given method successfully returned.
-
方法详细资料
-
afterReturning
Callback after a given method successfully returned.- 参数:
returnValue- the value returned by the method, if anyinvocation- the method invocation join-point- 抛出:
Throwable- if this object wishes to abort the call. Any exception thrown will be returned to the caller if it's allowed by the method signature. Otherwise the exception will be wrapped as a runtime exception.
-