T - public interface ServiceMethodAfterAdvice<T>
| Modifier and Type | Method and Description |
|---|---|
T |
afterReturning(Method interfaceMethod,
Object result,
Object... args)
If after advice defined for a service method, invokes this method after method execution finished.
|
T |
afterThrowing(Method interfaceMethod,
Exception t,
Object... args)
If after advice defined for a service method, invokes this method after method execution finished with throwing
exception.
|
T afterReturning(Method interfaceMethod, Object result, Object... args) throws Exception
method - service methodresult - method return valueargs - method argumentsExceptionT afterThrowing(Method interfaceMethod, Exception t, Object... args) throws Exception
method - service methodresult - method return valueargs - method argumentsExceptionCopyright © 2004–2019 OpenL Tablets. All rights reserved.