com.ibatis.sqlmap.engine.transaction.jta
Class JtaTransactionConfig

java.lang.Object
  extended bycom.ibatis.sqlmap.engine.transaction.BaseTransactionConfig
      extended bycom.ibatis.sqlmap.engine.transaction.jta.JtaTransactionConfig
All Implemented Interfaces:
TransactionConfig

public class JtaTransactionConfig
extends BaseTransactionConfig


Constructor Summary
JtaTransactionConfig()
           
 
Method Summary
 javax.sql.DataSource getDataSource()
           
 void initialize(java.util.Properties props)
           
 Transaction newTransaction(int transactionIsolation)
           
 void setDataSource(javax.sql.DataSource ds)
           
 
Methods inherited from class com.ibatis.sqlmap.engine.transaction.BaseTransactionConfig
getMaximumConcurrentTransactions, setMaximumConcurrentTransactions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JtaTransactionConfig

public JtaTransactionConfig()
Method Detail

getDataSource

public javax.sql.DataSource getDataSource()

setDataSource

public void setDataSource(javax.sql.DataSource ds)

initialize

public void initialize(java.util.Properties props)
                throws java.sql.SQLException,
                       TransactionException
Throws:
java.sql.SQLException
TransactionException

newTransaction

public Transaction newTransaction(int transactionIsolation)
                           throws java.sql.SQLException,
                                  TransactionException
Throws:
java.sql.SQLException
TransactionException