Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.ibatis.dao.engine.transaction.jta
Class JtaDaoTransactionManager  view JtaDaoTransactionManager download JtaDaoTransactionManager.java

java.lang.Object
  extended bycom.ibatis.dao.engine.transaction.jta.JtaDaoTransactionManager
All Implemented Interfaces:
com.ibatis.dao.engine.transaction.DaoTransactionManager

public class JtaDaoTransactionManager
extends java.lang.Object
implements com.ibatis.dao.engine.transaction.DaoTransactionManager


Field Summary
private  javax.sql.DataSource dataSource
           
private  javax.transaction.UserTransaction userTransaction
           
 
Constructor Summary
JtaDaoTransactionManager()
           
 
Method Summary
 void commitTransaction(com.ibatis.dao.client.DaoTransaction trans)
           
 void configure(java.util.Properties properties)
           
 void rollbackTransaction(com.ibatis.dao.client.DaoTransaction trans)
           
 com.ibatis.dao.client.DaoTransaction startTransaction()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dataSource

private javax.sql.DataSource dataSource

userTransaction

private javax.transaction.UserTransaction userTransaction
Constructor Detail

JtaDaoTransactionManager

public JtaDaoTransactionManager()
Method Detail

configure

public void configure(java.util.Properties properties)
Specified by:
configure in interface com.ibatis.dao.engine.transaction.DaoTransactionManager

startTransaction

public com.ibatis.dao.client.DaoTransaction startTransaction()
Specified by:
startTransaction in interface com.ibatis.dao.engine.transaction.DaoTransactionManager

commitTransaction

public void commitTransaction(com.ibatis.dao.client.DaoTransaction trans)
Specified by:
commitTransaction in interface com.ibatis.dao.engine.transaction.DaoTransactionManager

rollbackTransaction

public void rollbackTransaction(com.ibatis.dao.client.DaoTransaction trans)
Specified by:
rollbackTransaction in interface com.ibatis.dao.engine.transaction.DaoTransactionManager