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 java.lang.Object implements org.aopalliance.intercept.MethodInterceptorA this advice wrapper around theRetryingTransactionHelper.- Author:
- Derek Hulley
-
-
Constructor Summary
Constructors Constructor Description RetryingTransactionAdvice()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectinvoke(org.aopalliance.intercept.MethodInvocation methodInvocation)voidsetReadOnly(boolean readOnly)voidsetRequiresNew(boolean requiresNew)voidsetTxnHelper(RetryingTransactionHelper txnHelper)
-
-
-
Method Detail
-
setTxnHelper
public void setTxnHelper(RetryingTransactionHelper txnHelper)
-
setReadOnly
public void setReadOnly(boolean readOnly)
-
setRequiresNew
public void setRequiresNew(boolean requiresNew)
-
invoke
public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation) throws java.lang.Throwable- Specified by:
invokein interfaceorg.aopalliance.intercept.MethodInterceptor- Throws:
java.lang.Throwable
-
-