public class AnnotationAwareRetryOperationsInterceptor extends Object implements org.springframework.aop.IntroductionInterceptor, org.springframework.beans.factory.BeanFactoryAware
Constructor and Description |
---|
AnnotationAwareRetryOperationsInterceptor() |
Modifier and Type | Method and Description |
---|---|
boolean |
implementsInterface(Class<?> intf) |
Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
void |
setKeyGenerator(MethodArgumentsKeyGenerator methodArgumentsKeyGenerator) |
void |
setListeners(Collection<RetryListener> listeners)
Retry listeners to apply to all operations.
|
void |
setNewItemIdentifier(NewMethodArgumentsIdentifier newMethodArgumentsIdentifier) |
void |
setRetryContextCache(RetryContextCache retryContextCache)
Public setter for the
RetryContextCache . |
void |
setSleeper(Sleeper sleeper) |
public AnnotationAwareRetryOperationsInterceptor()
public void setSleeper(Sleeper sleeper)
sleeper
- the sleeper to setpublic void setRetryContextCache(RetryContextCache retryContextCache)
RetryContextCache
.retryContextCache
- the RetryContextCache
to set.public void setKeyGenerator(MethodArgumentsKeyGenerator methodArgumentsKeyGenerator)
methodArgumentsKeyGenerator
- the MethodArgumentsKeyGenerator
public void setNewItemIdentifier(NewMethodArgumentsIdentifier newMethodArgumentsIdentifier)
newMethodArgumentsIdentifier
- the NewMethodArgumentsIdentifier
public void setListeners(Collection<RetryListener> listeners)
listeners
- the listenerspublic void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
setBeanFactory
in interface org.springframework.beans.factory.BeanFactoryAware
org.springframework.beans.BeansException
public boolean implementsInterface(Class<?> intf)
implementsInterface
in interface org.springframework.aop.DynamicIntroductionAdvice
Copyright © 2018 SpringSource. All rights reserved.