Package org.alfresco.repo.transaction
Class RetryingTransactionInterceptor
- java.lang.Object
-
- org.springframework.transaction.interceptor.TransactionAspectSupport
-
- org.alfresco.repo.transaction.RetryingTransactionInterceptor
-
- All Implemented Interfaces:
org.aopalliance.aop.Advice,org.aopalliance.intercept.Interceptor,org.aopalliance.intercept.MethodInterceptor,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.beans.factory.InitializingBean
public class RetryingTransactionInterceptor extends org.springframework.transaction.interceptor.TransactionAspectSupport implements org.aopalliance.intercept.MethodInterceptor- Author:
- Dmitry Velichkevich
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRetryingTransactionInterceptor.WrapperException
-
Constructor Summary
Constructors Constructor Description RetryingTransactionInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectinvoke(org.aopalliance.intercept.MethodInvocation invocation)voidsetExtraExceptions(java.util.List<java.lang.Class<?>> extraExceptions)voidsetTransactionService(TransactionService transactionService)-
Methods inherited from class org.springframework.transaction.interceptor.TransactionAspectSupport
afterPropertiesSet, cleanupTransactionInfo, clearTransactionManagerCache, commitTransactionAfterReturning, completeTransactionAfterThrowing, createTransactionIfNecessary, currentTransactionInfo, currentTransactionStatus, determineTransactionManager, getBeanFactory, getTransactionAttributeSource, getTransactionManager, getTransactionManagerBeanName, invokeWithinTransaction, methodIdentification, prepareTransactionInfo, setBeanFactory, setTransactionAttributes, setTransactionAttributeSource, setTransactionAttributeSources, setTransactionManager, setTransactionManagerBeanName
-
-
-
-
Method Detail
-
setTransactionService
public void setTransactionService(TransactionService transactionService)
-
setExtraExceptions
public void setExtraExceptions(java.util.List<java.lang.Class<?>> extraExceptions)
-
invoke
public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation invocation) throws java.lang.Throwable- Specified by:
invokein interfaceorg.aopalliance.intercept.MethodInterceptor- Throws:
java.lang.Throwable
-
-