com.infoteria.asteria.flowengine2.execute
Class TransactionManager
java.lang.Object
|
+--com.infoteria.asteria.flowengine2.execute.TransactionManager
- All Implemented Interfaces:
- Transaction
- public class TransactionManager
- extends Object
- implements Transaction
トランザクションマネージャー
Methods inherited from class 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
- 追加されているすべてのトランザクションをコミットします。
- Specified by:
commit
in interface Transaction
size
public int size()
- 現在保持されているトランザクション数を返します。
rollback
public void rollback(ExecuteContext context)
throws FlowException
- 追加されているすべてのトランザクションをロールバックします。
- Specified by:
rollback
in interface Transaction
getTransactionStr
public String getTransactionStr(ExecuteContext context,
Xid xid)