FileDocCategorySizeDatePackage
TransactionTimeoutConfigurationReader.javaAPI DocJBoss 4.2.11729Fri Jul 13 21:02:30 BST 2007org.jboss.aspects.tx

TransactionTimeoutConfigurationReader

public class TransactionTimeoutConfigurationReader extends Object implements TxTimeoutReader
For use with newer versions of JBoss supporting the TransactionTimeoutConfiguration interface
author
Kabir Khan
version
$Revision: 1.1 $

Fields Summary
Constructors Summary
Methods Summary
public intgetTransactionTimeOut(javax.transaction.TransactionManager tm)

      if (tm instanceof TransactionTimeoutConfiguration)
      {
         return ((TransactionTimeoutConfiguration)tm).getTransactionTimeout();
      }
      return 0;