@Configuration
public class RetryConfiguration
extends org.springframework.aop.support.AbstractPointcutAdvisor
implements org.springframework.aop.IntroductionAdvisor, org.springframework.beans.factory.BeanFactoryAware
@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 |
|---|---|
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 |
init() |
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, setOrder@PostConstruct public void init()
public 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 © 2014 SpringSource. All rights reserved.