public interface AfterReturningAdvice extends AfterAdvice
|Modifier and Type||Method and Description|
Callback after a given method successfully returned.
void afterReturning(Object returnValue, Method method, Object args, Object target) throws Throwable
returnValue- the value returned by the method, if any
method- method being invoked
args- arguments to the method
target- target of the method invocation. May be
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.