From 5d738bdf42aeb49097cc2d6010b356334d9fe86f Mon Sep 17 00:00:00 2001 From: Britt Park Date: Sun, 17 Dec 2006 18:35:00 +0000 Subject: [PATCH] AVMSyncService now retries it's operations. Removed an unnecessary import. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4628 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- config/alfresco/public-services-context.xml | 99 ++++++++----------- .../repo/remote/ReauthenticatingAdvice.java | 1 - 2 files changed, 39 insertions(+), 61 deletions(-) diff --git a/config/alfresco/public-services-context.xml b/config/alfresco/public-services-context.xml index bd543801e0..9fb335bc94 100644 --- a/config/alfresco/public-services-context.xml +++ b/config/alfresco/public-services-context.xml @@ -1124,49 +1124,6 @@ - - - - - org.alfresco.service.cmr.avm.AVMService - - - AVM Service - - - - - - - - - - ${server.transaction.mode.readOnly} - ${server.transaction.mode.default} - ${server.transaction.mode.default} - ${server.transaction.mode.default} - ${server.transaction.mode.readOnly} - ${server.transaction.mode.readOnly} - ${server.transaction.mode.default} - - - - @@ -1178,29 +1135,50 @@ - - - org.alfresco.service.cmr.avmsync.AVMSyncService + + + + - - AVM Tree Synchronization Service + + + compare + - - - - + + + + + - - - ${server.transaction.mode.readOnly} - ${server.transaction.mode.default} - ${server.transaction.mode.default} - ${server.transaction.mode.default} - + + + update + flatten + resetLayer + + + + + org.alfresco.service.cmr.avmsync.AVMSyncService + + + + avmSyncService + + + + avmSyncServiceWriteTxnAdvisor + avmSyncServiceReadTxnAdvisor + + + + + + diff --git a/source/java/org/alfresco/repo/remote/ReauthenticatingAdvice.java b/source/java/org/alfresco/repo/remote/ReauthenticatingAdvice.java index e3deae9430..898d07c993 100644 --- a/source/java/org/alfresco/repo/remote/ReauthenticatingAdvice.java +++ b/source/java/org/alfresco/repo/remote/ReauthenticatingAdvice.java @@ -8,7 +8,6 @@ import org.alfresco.service.cmr.security.AuthenticationService; import org.aopalliance.intercept.MethodInterceptor; import org.aopalliance.intercept.MethodInvocation; import org.springframework.aop.framework.ReflectiveMethodInvocation; -import org.springframework.orm.hibernate3.support.HibernateDaoSupport; /** * This is an interceptor that continuosly tries to reauthenticate when