@Role(value=2)
@Component
public class RetryConfiguration
extends org.springframework.aop.support.AbstractPointcutAdvisor
implements org.springframework.aop.IntroductionAdvisor, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.InitializingBean
@Retryable processing. For stateful retry, if
there is a unique bean elsewhere in the context of type RetryContextCache,
MethodArgumentsKeyGenerator or NewMethodArgumentsIdentifier it will be
used by the corresponding retry interceptor (otherwise sensible defaults are adopted).| Constructor and Description |
|---|
RetryConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected org.aopalliance.aop.Advice |
buildAdvice() |
protected org.springframework.aop.Pointcut |
buildPointcut(Set<Class<? extends Annotation>> retryAnnotationTypes)
Calculate a pointcut for the given retry annotation types, if any.
|
org.aopalliance.aop.Advice |
getAdvice() |
org.springframework.aop.ClassFilter |
getClassFilter() |
Class<?>[] |
getInterfaces() |
org.springframework.aop.Pointcut |
getPointcut() |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
Set the
BeanFactory to be used when looking up executors by qualifier. |
void |
validateInterfaces() |
equals, getOrder, hashCode, isPerInstance, setOrderpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
BeanFactory to be used when looking up executors by qualifier.setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwarepublic org.springframework.aop.ClassFilter getClassFilter()
getClassFilter in interface org.springframework.aop.IntroductionAdvisorpublic Class<?>[] getInterfaces()
getInterfaces in interface org.springframework.aop.IntroductionInfopublic void validateInterfaces()
throws IllegalArgumentException
validateInterfaces in interface org.springframework.aop.IntroductionAdvisorIllegalArgumentExceptionpublic org.aopalliance.aop.Advice getAdvice()
getAdvice in interface org.springframework.aop.Advisorpublic org.springframework.aop.Pointcut getPointcut()
getPointcut in interface org.springframework.aop.PointcutAdvisorprotected org.aopalliance.aop.Advice buildAdvice()
protected org.springframework.aop.Pointcut buildPointcut(Set<Class<? extends Annotation>> retryAnnotationTypes)
retryAnnotationTypes - the retry annotation types to introspectnull if noneCopyright © 2022 SpringSource. All rights reserved.