org.asyrinx.joey.test.dao
クラス DBTestCaseTx

java.lang.Object
  拡張TestCase
      拡張org.asyrinx.joey.test.dao.S2TestCaseBase
          拡張org.asyrinx.joey.test.dao.DBTestCase
              拡張org.asyrinx.joey.test.dao.DBTestCaseTx

public abstract class DBTestCaseTx
extends DBTestCase

トランザクションを

作成者:
takeshi
関連項目:
直列化された形式

フィールドの概要
 
クラス org.asyrinx.joey.test.dao.S2TestCaseBase から継承したフィールド
container_
 
コンストラクタの概要
DBTestCaseTx(java.lang.String name)
           
 
メソッドの概要
protected  void afterSetupContainer()
           
 void begin()
           
 void commit()
           
protected  void executeRunBare()
           
 javax.transaction.Transaction getTransaction()
           
 javax.transaction.TransactionManager getTransactionManager()
           
 boolean hasTransaction()
           
 void resume(javax.transaction.Transaction transaction)
           
 void rollback()
           
 void setTransactionManager(javax.transaction.TransactionManager transactionManager)
           
 javax.transaction.Transaction suspend()
           
 
クラス org.asyrinx.joey.test.dao.DBTestCase から継承したメソッド
closeConnection, getConnection, getDataSet, getDataSource, getDBUnitConnection, getSetUpOperation, getTearDownOperation, setUp, tearDown
 
クラス org.asyrinx.joey.test.dao.S2TestCaseBase から継承したメソッド
getComponent, getComponent, getComponentDef, getComponentDef, getContainer, include, register, register, register, register, register, runBare, setUpContainer
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

DBTestCaseTx

public DBTestCaseTx(java.lang.String name)
パラメータ:
name -
メソッドの詳細

afterSetupContainer

protected void afterSetupContainer()
                            throws java.lang.Throwable
オーバーライド:
クラス S2TestCaseBase 内の afterSetupContainer
例外:
java.lang.Throwable

executeRunBare

protected void executeRunBare()
                       throws java.lang.Throwable
オーバーライド:
クラス DBTestCase 内の executeRunBare
例外:
java.lang.Throwable

getTransactionManager

public final javax.transaction.TransactionManager getTransactionManager()

setTransactionManager

public final void setTransactionManager(javax.transaction.TransactionManager transactionManager)

hasTransaction

public final boolean hasTransaction()
                             throws javax.transaction.SystemException
例外:
javax.transaction.SystemException

getTransaction

public final javax.transaction.Transaction getTransaction()
                                                   throws javax.transaction.SystemException
例外:
javax.transaction.SystemException

begin

public final void begin()
                 throws javax.transaction.NotSupportedException,
                        javax.transaction.SystemException
例外:
javax.transaction.NotSupportedException
javax.transaction.SystemException

commit

public final void commit()
                  throws java.lang.SecurityException,
                         java.lang.IllegalStateException,
                         javax.transaction.RollbackException,
                         javax.transaction.HeuristicMixedException,
                         javax.transaction.HeuristicRollbackException,
                         javax.transaction.SystemException
例外:
java.lang.SecurityException
java.lang.IllegalStateException
javax.transaction.RollbackException
javax.transaction.HeuristicMixedException
javax.transaction.HeuristicRollbackException
javax.transaction.SystemException

rollback

public final void rollback()
                    throws java.lang.IllegalStateException,
                           java.lang.SecurityException,
                           javax.transaction.SystemException
例外:
java.lang.IllegalStateException
java.lang.SecurityException
javax.transaction.SystemException

suspend

public final javax.transaction.Transaction suspend()
                                            throws javax.transaction.SystemException
例外:
javax.transaction.SystemException

resume

public final void resume(javax.transaction.Transaction transaction)
                  throws javax.transaction.InvalidTransactionException,
                         java.lang.IllegalStateException,
                         javax.transaction.SystemException
例外:
javax.transaction.InvalidTransactionException
java.lang.IllegalStateException
javax.transaction.SystemException


Copyright © 2004 asyrinx organization. All Rights Reserved.