[jboss-svn-commits] JBL Code SVN: r24870 - labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/orbspecific.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Thu Jan 22 08:11:12 EST 2009
Author: mark.little at jboss.com
Date: 2009-01-22 08:11:12 -0500 (Thu, 22 Jan 2009)
New Revision: 24870
Modified:
labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/orbspecific/ControlImple.java
Log:
https://jira.jboss.org/jira/browse/JBTM-475
Modified: labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/orbspecific/ControlImple.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/orbspecific/ControlImple.java 2009-01-22 12:37:58 UTC (rev 24869)
+++ labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/internal/jts/orbspecific/ControlImple.java 2009-01-22 13:11:12 UTC (rev 24870)
@@ -337,6 +337,14 @@
return false;
}
+
+ public org.omg.CosTransactions.Status getFinalStatus () throws IllegalStateException
+ {
+ if (getImplHandle() != null)
+ throw new IllegalStateException();
+ else
+ return _finalStatus;
+ }
protected synchronized void canDestroy () throws ActiveTransaction,
ActiveThreads, BadControl, Destroyed, SystemException
@@ -609,6 +617,8 @@
{
if (_transactionImpl != null)
{
+ _finalStatus = _transactionImpl.get_status();
+
ORBManager.getPOA().shutdownObject(_transactionImpl);
_transactionHandle = null;
@@ -625,7 +635,7 @@
}
}
}
-
+
/*
* Make private, with public accessor.
*/
@@ -648,4 +658,5 @@
protected boolean _destroyed;
+ private org.omg.CosTransactions.Status _finalStatus = org.omg.CosTransactions.Status.StatusUnknown;
}
More information about the jboss-svn-commits
mailing list