public class TransactionImpl extends Object implements ExtendedTransaction, SynchronizationRegister
| コンストラクタと説明 |
|---|
TransactionImpl() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
begin() |
void |
commit() |
boolean |
delistResource(XAResource xaResource,
int flag) |
boolean |
enlistResource(XAResource xaResource) |
List<Synchronization> |
getInterposedSynchronizations() |
Object |
getResource(Object key) |
int |
getStatus() |
List<Synchronization> |
getSynchronizations() |
Xid |
getXid() |
boolean |
isSuspended() |
void |
putResource(Object key,
Object value) |
void |
registerInterposedSynchronization(Synchronization sync) |
void |
registerSynchronization(Synchronization sync) |
void |
resume() |
void |
rollback() |
void |
setRollbackOnly() |
void |
suspend() |
String |
toString() |
public void begin()
throws NotSupportedException,
SystemException
begin インタフェース内 ExtendedTransactionNotSupportedExceptionSystemExceptionpublic void suspend()
throws SystemException
suspend インタフェース内 ExtendedTransactionSystemExceptionpublic void resume()
throws SystemException
resume インタフェース内 ExtendedTransactionSystemExceptionpublic void commit()
throws RollbackException,
HeuristicMixedException,
HeuristicRollbackException,
SecurityException,
IllegalStateException,
SystemException
public void rollback()
throws IllegalStateException,
SecurityException,
SystemException
rollback インタフェース内 TransactionIllegalStateExceptionSecurityExceptionSystemExceptionpublic void setRollbackOnly()
throws IllegalStateException,
SystemException
setRollbackOnly インタフェース内 TransactionIllegalStateExceptionSystemExceptionpublic boolean enlistResource(XAResource xaResource) throws RollbackException, IllegalStateException, SystemException
enlistResource インタフェース内 TransactionRollbackExceptionIllegalStateExceptionSystemExceptionpublic boolean delistResource(XAResource xaResource, int flag) throws IllegalStateException, SystemException
delistResource インタフェース内 TransactionIllegalStateExceptionSystemExceptionpublic int getStatus()
getStatus インタフェース内 Transactionpublic void registerSynchronization(Synchronization sync) throws RollbackException, IllegalStateException, SystemException
public void registerInterposedSynchronization(Synchronization sync) throws IllegalStateException
public void putResource(Object key, Object value) throws IllegalStateException
putResource インタフェース内 SynchronizationRegisterIllegalStateExceptionpublic Object getResource(Object key) throws IllegalStateException
getResource インタフェース内 SynchronizationRegisterIllegalStateExceptionpublic Xid getXid()
public boolean isSuspended()
public List<Synchronization> getSynchronizations()
public List<Synchronization> getInterposedSynchronizations()
Copyright © 2015 The DBFlute Project. All rights reserved.