[Mulgara-svn] r120 - branches/xafix-impl/src/jar/resolver/java/org/mulgara/resolver
andrae at mulgara.org
andrae at mulgara.org
Tue Oct 31 00:03:43 UTC 2006
Author: andrae
Date: 2006-10-30 18:03:42 -0600 (Mon, 30 Oct 2006)
New Revision: 120
Modified:
branches/xafix-impl/src/jar/resolver/java/org/mulgara/resolver/MulgaraTransactionManager.java
Log:
A one file checking that is out of any execution path to check that this time
I'm committing into the correct tree. The following commit needs to avoid trunk
as it is likely to break stuff.
Modified: branches/xafix-impl/src/jar/resolver/java/org/mulgara/resolver/MulgaraTransactionManager.java
===================================================================
--- branches/xafix-impl/src/jar/resolver/java/org/mulgara/resolver/MulgaraTransactionManager.java 2006-10-29 21:41:34 UTC (rev 119)
+++ branches/xafix-impl/src/jar/resolver/java/org/mulgara/resolver/MulgaraTransactionManager.java 2006-10-31 00:03:42 UTC (rev 120)
@@ -108,8 +108,7 @@
}
// FIXME: Need to finish 1-N DS-OC and provide this method - should really be newOperationContext.
-// return new MulgaraTransaction(this, session.getOperationContext());
- return new MulgaraTransaction(this, null);
+ return new MulgaraTransaction(this, session.getOperationContext());
}
@@ -206,7 +205,7 @@
public synchronized void closingSession(Session session) throws MulgaraTransactionException {
// Check if we hold the write lock, if we do then rollback and throw exception.
- // Otherwise - no-op.
+ // Regardless we need to close all associated Answer objects
}
public void finalizeTransaction() {
@@ -277,6 +276,7 @@
throw new MulgaraTransactionException("Commit Failed", e);
} finally {
activeTransactions.remove(Thread.currentThread());
+// Remove transaction from Session's list.
}
}
}
More information about the Mulgara-svn
mailing list