[jboss-svn-commits] JBL Code SVN: r37650 - in labs/jbosstm/branches/JBOSSTS_4_15_0_Final/atsintegration/examples/classes/com/arjuna/jta/distributed/example/server: impl and 1 other directory.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Fri Oct 21 08:01:44 EDT 2011
Author: tomjenkinson
Date: 2011-10-21 08:01:43 -0400 (Fri, 21 Oct 2011)
New Revision: 37650
Modified:
labs/jbosstm/branches/JBOSSTS_4_15_0_Final/atsintegration/examples/classes/com/arjuna/jta/distributed/example/server/LocalServer.java
labs/jbosstm/branches/JBOSSTS_4_15_0_Final/atsintegration/examples/classes/com/arjuna/jta/distributed/example/server/impl/ServerImpl.java
Log:
JBTM-895 added more documentation
Modified: labs/jbosstm/branches/JBOSSTS_4_15_0_Final/atsintegration/examples/classes/com/arjuna/jta/distributed/example/server/LocalServer.java
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_15_0_Final/atsintegration/examples/classes/com/arjuna/jta/distributed/example/server/LocalServer.java 2011-10-21 11:58:37 UTC (rev 37649)
+++ labs/jbosstm/branches/JBOSSTS_4_15_0_Final/atsintegration/examples/classes/com/arjuna/jta/distributed/example/server/LocalServer.java 2011-10-21 12:01:43 UTC (rev 37650)
@@ -78,8 +78,10 @@
* here we have a hashmap to locate the transaction in.
*
* Clearly servers where the transaction has been inflowed back to *must
- * not* commit the transaction.
+ * not* commit the transaction.
*
+ * NOTE: CMT would not allow you do this anyway
+ *
* @throws SystemException
*/
public void storeRootTransaction(Transaction transaction) throws SystemException;
@@ -97,6 +99,8 @@
*
* If it is the root transaction, it must not be committed!
*
+ * NOTE: CMT would not allow you do this anyway
+ *
* e.g. A transaction flowed 1,2,1 **must not** be committed at the third
* stage of the flow even though we are back at the originating server!!!
*
Modified: labs/jbosstm/branches/JBOSSTS_4_15_0_Final/atsintegration/examples/classes/com/arjuna/jta/distributed/example/server/impl/ServerImpl.java
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_15_0_Final/atsintegration/examples/classes/com/arjuna/jta/distributed/example/server/impl/ServerImpl.java 2011-10-21 11:58:37 UTC (rev 37649)
+++ labs/jbosstm/branches/JBOSSTS_4_15_0_Final/atsintegration/examples/classes/com/arjuna/jta/distributed/example/server/impl/ServerImpl.java 2011-10-21 12:01:43 UTC (rev 37650)
@@ -164,7 +164,9 @@
* If this returns the root transaction, it must not be committed!
*
* e.g. A transaction flowed 1,2,1 **must not** be committed at the third
- * stage of the flow!!!
+ * stage of the flow!!!
+ *
+ * NOTE: CMT would not allow you do this anyway
*/
@Override
public boolean getAndResumeTransaction(int remainingTimeout, Xid toResume) throws XAException, InvalidTransactionException, IllegalStateException,
More information about the jboss-svn-commits
mailing list