[Jboss-cvs] JBossAS SVN: r57071 - branches/Branch_4_0/aspects/src/main/org/jboss/aspects/tx
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Sep 22 10:30:52 EDT 2006
Author: kabir.khan at jboss.com
Date: 2006-09-22 10:30:51 -0400 (Fri, 22 Sep 2006)
New Revision: 57071
Modified:
branches/Branch_4_0/aspects/src/main/org/jboss/aspects/tx/TxTimeoutReaderFactory.java
Log:
[JBAS-3685] Remove all references to org.jboss.tm.TxManager - Fix Factory so that TxManagerTimeOutReader gets returned
Modified: branches/Branch_4_0/aspects/src/main/org/jboss/aspects/tx/TxTimeoutReaderFactory.java
===================================================================
--- branches/Branch_4_0/aspects/src/main/org/jboss/aspects/tx/TxTimeoutReaderFactory.java 2006-09-22 13:52:21 UTC (rev 57070)
+++ branches/Branch_4_0/aspects/src/main/org/jboss/aspects/tx/TxTimeoutReaderFactory.java 2006-09-22 14:30:51 UTC (rev 57071)
@@ -18,14 +18,14 @@
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
+*/
package org.jboss.aspects.tx;
/**
* Obtains the correct mechanism to get hold of a transaction timeout.
* Newer versions of JBoss should use the TransactionTimeoutConfiguration interfsce.
* For older versions we need to access the TxManager directly
- *
+ *
* @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
* @version $Revision: 1.1 $
*/
@@ -41,16 +41,16 @@
catch (ClassNotFoundException e)
{
}
-
+
try
{
Class clazz = Class.forName("org.jboss.tm.TxManager");
- return new TransactionTimeoutConfigurationReader();
+ return new TxManagerTimeOutReader();
}
catch (ClassNotFoundException e)
{
}
-
+
return new NullTransactionTimeoutConfigurationReader();
}
}
More information about the jboss-cvs-commits
mailing list