Renamed RetryingTransaction to RetryingTransactionHelper, HibernateRetryingTransaction

to HibernateRetryingTransactionHelper.  Changed propagation mode of AVM transactions to
PROPAGATION_REQUIRED and tweaked to not retry in a transaction that wasn't started
locally.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3389 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-07-24 15:26:27 +00:00
parent 7af823d992
commit e5214a5d42
6 changed files with 23 additions and 15 deletions

View File

@@ -44,7 +44,7 @@ class AVMServiceImpl implements AVMService
/**
* The RetryingTransaction.
*/
private RetryingTransaction fTransaction;
private RetryingTransactionHelper fTransaction;
/**
* The AVMRepository for each service thread.
@@ -94,7 +94,7 @@ class AVMServiceImpl implements AVMService
* Set the Retrying Transaction wrapper.
* @param txn
*/
public void setRetryingTransaction(RetryingTransaction txn)
public void setRetryingTransaction(RetryingTransactionHelper txn)
{
fTransaction = txn;
}