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

Quick Search    Search Deep

com.ibatis.dao.engine.impl
Class DaoContext  view DaoContext download DaoContext.java

java.lang.Object
  extended bycom.ibatis.dao.engine.impl.DaoContext

public class DaoContext
extends java.lang.Object


Field Summary
private  StandardDaoManager daoManager
           
private  java.lang.String id
           
private  java.lang.ThreadLocal state
           
private  java.lang.ThreadLocal transaction
           
private  com.ibatis.dao.engine.transaction.DaoTransactionManager transactionManager
           
private  java.util.Map typeDaoImplMap
           
 
Constructor Summary
DaoContext()
           
 
Method Summary
 void addDao(DaoImpl daoImpl)
           
 void commitTransaction()
           
 void endTransaction()
           
 com.ibatis.dao.client.Dao getDao(java.lang.Class iface)
           
 java.util.Iterator getDaoImpls()
           
 StandardDaoManager getDaoManager()
           
 java.lang.String getId()
           
 com.ibatis.dao.client.DaoTransaction getTransaction()
           
 com.ibatis.dao.engine.transaction.DaoTransactionManager getTransactionManager()
           
 void setDaoManager(StandardDaoManager daoManager)
           
 void setId(java.lang.String id)
           
 void setTransactionManager(com.ibatis.dao.engine.transaction.DaoTransactionManager transactionManager)
           
 void startTransaction()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

private java.lang.String id

daoManager

private StandardDaoManager daoManager

transactionManager

private com.ibatis.dao.engine.transaction.DaoTransactionManager transactionManager

transaction

private java.lang.ThreadLocal transaction

state

private java.lang.ThreadLocal state

typeDaoImplMap

private java.util.Map typeDaoImplMap
Constructor Detail

DaoContext

public DaoContext()
Method Detail

getId

public java.lang.String getId()

setId

public void setId(java.lang.String id)

getDaoManager

public StandardDaoManager getDaoManager()

setDaoManager

public void setDaoManager(StandardDaoManager daoManager)

getTransactionManager

public com.ibatis.dao.engine.transaction.DaoTransactionManager getTransactionManager()

setTransactionManager

public void setTransactionManager(com.ibatis.dao.engine.transaction.DaoTransactionManager transactionManager)

addDao

public void addDao(DaoImpl daoImpl)

getDao

public com.ibatis.dao.client.Dao getDao(java.lang.Class iface)

getDaoImpls

public java.util.Iterator getDaoImpls()

getTransaction

public com.ibatis.dao.client.DaoTransaction getTransaction()

startTransaction

public void startTransaction()

commitTransaction

public void commitTransaction()

endTransaction

public void endTransaction()