com.infoteria.asteria.flowengine2.execute
クラス TransactionManager

java.lang.Object
  |
  +--com.infoteria.asteria.flowengine2.execute.TransactionManager
すべての実装インタフェース:
Transaction

public class TransactionManager
extends Object
implements Transaction

トランザクションマネージャー


コンストラクタの概要
TransactionManager()
           
 
メソッドの概要
 void addTransaction(ExecuteContext context, Transaction t)
          トランザクションを追加します。
 void commit(ExecuteContext context)
          追加されているすべてのトランザクションをコミットします。
 String getTransactionStr(ExecuteContext context, Xid xid)
           
 void rollback(ExecuteContext context)
          追加されているすべてのトランザクションをロールバックします。
 int size()
          現在保持されているトランザクション数を返します。
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

TransactionManager

public TransactionManager()
メソッドの詳細

addTransaction

public void addTransaction(ExecuteContext context,
                           Transaction t)
                    throws FlowException
トランザクションを追加します。

commit

public void commit(ExecuteContext context)
            throws FlowException
追加されているすべてのトランザクションをコミットします。
定義:
インタフェース Transaction 内の commit

size

public int size()
現在保持されているトランザクション数を返します。

rollback

public void rollback(ExecuteContext context)
              throws FlowException
追加されているすべてのトランザクションをロールバックします。
定義:
インタフェース Transaction 内の rollback

getTransactionStr

public String getTransactionStr(ExecuteContext context,
                                Xid xid)