public class JTAJCATransactionImpl extends TransactionImpl implements Synchronization
rollbackOnly, serializeRead
TRANSACTION_ISOLATION_OPTION
Modifier and Type | Method and Description |
---|---|
void |
afterCompletion(int status)
Called by the transaction manager after the transaction is committed or rolled back.
|
void |
beforeCompletion()
Called by the transaction manager prior to the start of the two-phase transaction commit process.
|
boolean |
getIsActive()
Similar to "isActive" except that it just returns the "active" flag whereas the isActive() method can also embody rejoining to underlying transactions.
|
boolean |
isActive()
Accessor for whether the transaction is active.
|
addTransactionEventListener, begin, bindTransactionEventListener, close, commit, end, flush, getBeginTime, getNontransactionalRead, getNontransactionalWrite, getNontransactionalWriteAutoCommit, getOptimistic, getOptions, getRestoreValues, getRetainValues, getRollbackOnly, getSerializeRead, getSynchronization, internalBegin, internalCommit, internalPostCommit, internalPreCommit, internalPreRollback, internalRollback, isCommitting, preFlush, releaseSavepoint, removeTransactionEventListener, rollback, rollbackToSavepoint, setNontransactionalRead, setNontransactionalWrite, setNontransactionalWriteAutoCommit, setOptimistic, setOption, setOption, setOption, setOption, setProperties, setRestoreValues, setRetainValues, setRollbackOnly, setSavepoint, setSerializeRead, setSynchronization
public boolean getIsActive()
TransactionImpl
getIsActive
in interface Transaction
getIsActive
in class TransactionImpl
public boolean isActive()
isActive
in interface Transaction
isActive
in class TransactionImpl
public void beforeCompletion()
beforeCompletion
in interface Synchronization
public void afterCompletion(int status)
afterCompletion
in interface Synchronization
status
- The statusCopyright © 2019. All rights reserved.