Package org.alfresco.repo.transaction
Class RetryingTransactionAdvice
java.lang.Object
org.alfresco.repo.transaction.RetryingTransactionAdvice
- All Implemented Interfaces:
org.aopalliance.aop.Advice,org.aopalliance.intercept.Interceptor,org.aopalliance.intercept.MethodInterceptor
public class RetryingTransactionAdvice
extends Object
implements org.aopalliance.intercept.MethodInterceptor
A this advice wrapper around the
RetryingTransactionHelper.- Author:
- Derek Hulley
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninvoke(org.aopalliance.intercept.MethodInvocation methodInvocation) voidsetReadOnly(boolean readOnly) voidsetRequiresNew(boolean requiresNew) voidsetTxnHelper(RetryingTransactionHelper txnHelper)
-
Constructor Details
-
RetryingTransactionAdvice
public RetryingTransactionAdvice()
-
-
Method Details
-
setTxnHelper
-
setReadOnly
public void setReadOnly(boolean readOnly) -
setRequiresNew
public void setRequiresNew(boolean requiresNew) -
invoke
- Specified by:
invokein interfaceorg.aopalliance.intercept.MethodInterceptor- Throws:
Throwable
-