org.alfresco.repo.transaction
Class RetryingTransactionAdvice

java.lang.Object
  extended by 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.MethodInterceptor

A this advice wrapper around the RetryingTransactionHelper.


Constructor Summary
RetryingTransactionAdvice()
           
 
Method Summary
 java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation)
           
 void setReadOnly(boolean readOnly)
           
 void setRequiresNew(boolean requiresNew)
           
 void setTxnHelper(RetryingTransactionHelper txnHelper)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RetryingTransactionAdvice

public RetryingTransactionAdvice()
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:
invoke in interface org.aopalliance.intercept.MethodInterceptor
Throws:
java.lang.Throwable


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.