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 Details

    • RetryingTransactionAdvice

      public RetryingTransactionAdvice()
  • Method Details

    • setTxnHelper

      public void setTxnHelper(RetryingTransactionHelper txnHelper)
    • setReadOnly

      public void setReadOnly(boolean readOnly)
    • setRequiresNew

      public void setRequiresNew(boolean requiresNew)
    • invoke

      public Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation) throws Throwable
      Specified by:
      invoke in interface org.aopalliance.intercept.MethodInterceptor
      Throws:
      Throwable