| org.springframework.aop.AfterReturningAdvice
All known Subclasses: org.springframework.aop.aspectj.AspectJAfterReturningAdvice,
AfterReturningAdvice | public interface AfterReturningAdvice extends AfterAdvice(Code) | | 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.
author: Rod Johnson See Also: MethodBeforeAdvice See Also: ThrowsAdvice |
Method Summary | |
void | afterReturning(Object returnValue, Method method, Object[] args, Object target) Callback after a given method successfully returned.
Parameters: returnValue - the value returned by the method, if any Parameters: method - method being invoked Parameters: args - arguments to the method Parameters: target - target of the method invocation. |
afterReturning | void afterReturning(Object returnValue, Method method, Object[] args, Object target) throws Throwable(Code) | | Callback after a given method successfully returned.
Parameters: returnValue - the value returned by the method, if any Parameters: method - method being invoked Parameters: args - arguments to the method Parameters: target - target of the method invocation. May be null . throws: Throwable - if this object wishes to abort the call.Any exception thrown will be returned to the caller if it'sallowed by the method signature. Otherwise the exceptionwill be wrapped as a runtime exception. |
|
|