com.ibatis.sqlmap.engine.transaction
Interface TransactionConfig

All Known Implementing Classes:
BaseTransactionConfig

public interface TransactionConfig


Method Summary
 javax.sql.DataSource getDataSource()
           
 int getMaximumConcurrentTransactions()
           
 void initialize(java.util.Properties props)
           
 Transaction newTransaction(int transactionIsolation)
           
 void setDataSource(javax.sql.DataSource ds)
           
 void setMaximumConcurrentTransactions(int maximumConcurrentTransactions)
           
 

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

getMaximumConcurrentTransactions

public int getMaximumConcurrentTransactions()

setMaximumConcurrentTransactions

public void setMaximumConcurrentTransactions(int maximumConcurrentTransactions)