public class RetryAdvice extends AnnotationChainableMethodAdvice<Retry>
nextMethodInterceptor, nullResult, serviceBeanAopCacheManager
Constructor and Description |
---|
RetryAdvice() |
Modifier and Type | Method and Description |
---|---|
Retry |
getNullAnnotation() |
java.lang.Object |
invoke(MethodInvocation methodInvocation)
Implement this method to perform extra treatments before and
after the invocation.
|
findAnnotation, getAnnotationClass, setServiceBeanAopCacheManager
afterReturning, afterThrowing, before, duringFinally, setNextMethodInterceptor
public Retry getNullAnnotation()
getNullAnnotation
in class AnnotationChainableMethodAdvice<Retry>
public java.lang.Object invoke(MethodInvocation methodInvocation) throws java.lang.Throwable
MethodInterceptor
Joinpoint.proceed()
.invoke
in interface MethodInterceptor
invoke
in class ChainableMethodAdvice
methodInvocation
- the method invocation joinpointJoinpoint.proceed()
, might be intercepted by the
interceptor.java.lang.Throwable
- if the interceptors or the
target-object throws an exception.