public class ManagedTransactionAdapter extends ObjectSE implements TransactionSE
TransactionManagerSE 参照を取得し、JTA TransactionSE ハンドルを作成します。| コンストラクターと説明 |
|---|
ManagedTransactionAdapter(TransactionManagerSE transactionManager) 指定された TransactionManager の新しい ManagedTransactionAdapter を作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
void | commit() |
boolean | delistResource(XAResourceSE xaRes, int flag) |
boolean | enlistResource(XAResourceSE xaRes) |
int | getStatus() |
TransactionManagerSE | getTransactionManager() このアダプターが委譲する JTA TransactionManager を返します。 |
void | registerSynchronization(SynchronizationSE sync) |
void | rollback() |
void | setRollbackOnly() |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic ManagedTransactionAdapter(TransactionManagerSE transactionManager) throws SystemExceptionSE
transactionManager - ラップする JTA TransactionManagerSystemExceptionSEpublic final TransactionManagerSE getTransactionManager()
public void commit()
throws RollbackExceptionSE,
HeuristicMixedExceptionSE,
HeuristicRollbackExceptionSE,
SecurityExceptionSE,
SystemExceptionSEpublic void rollback()
throws SystemExceptionSETransactionSE の rollbackSE SystemExceptionSEpublic void setRollbackOnly()
throws SystemExceptionSETransactionSE の setRollbackOnlySE SystemExceptionSEpublic int getStatus()
throws SystemExceptionSETransactionSE の getStatusSE SystemExceptionSEpublic boolean enlistResource(XAResourceSE xaRes) throws RollbackExceptionSE, SystemExceptionSE
TransactionSE の enlistResourceSE RollbackExceptionSESystemExceptionSEpublic boolean delistResource(XAResourceSE xaRes, int flag) throws SystemExceptionSE
TransactionSE の delistResourceSE SystemExceptionSEpublic void registerSynchronization(SynchronizationSE sync) throws RollbackExceptionSE, SystemExceptionSE
TransactionSE の registerSynchronizationSE RollbackExceptionSESystemExceptionSE