[exo-jcr-commits] exo-jcr SVN: r1448 - jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core.

do-not-reply at jboss.org do-not-reply at jboss.org
Sun Jan 17 05:54:55 EST 2010


Author: tolusha
Date: 2010-01-17 05:54:55 -0500 (Sun, 17 Jan 2010)
New Revision: 1448

Modified:
   jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/XASessionImpl.java
Log:
EXOJCR-405: add XASession to TransactionableResourceManager when enlistResource is called

Modified: jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/XASessionImpl.java
===================================================================
--- jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/XASessionImpl.java	2010-01-17 09:26:41 UTC (rev 1447)
+++ jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/XASessionImpl.java	2010-01-17 10:54:55 UTC (rev 1448)
@@ -118,7 +118,7 @@
       {
          if (LOG.isDebugEnabled())
             LOG.debug("Delist session: " + getSessionInfo() + ", " + this);
-         //txResourceManager.remove(this);
+         txResourceManager.remove(this);
          tService.delistResource(this);
       }
       catch (RollbackException e)
@@ -142,7 +142,7 @@
       {
          if (LOG.isDebugEnabled())
             LOG.debug("Enlist session: " + getSessionInfo() + ", " + this);
-         //txResourceManager.add(this);
+         txResourceManager.add(this);
          tService.enlistResource(this);
       }
       catch (RollbackException e)



More information about the exo-jcr-commits mailing list