public abstract class DefaultJTATxnHandlerImpl extends DefaultTxnHandlerImpl implements JTATransactionHandler
| Constructor and Description |
|---|
DefaultJTATxnHandlerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
beginActivation() |
void |
beginPassivation() |
protected void |
commit() |
protected void |
disconnect() |
protected abstract void |
doRegister() |
void |
endActivation() |
void |
endPassivation() |
protected DBTransaction |
getDBTransaction() |
void |
handleCommit(java.sql.Connection conn,
boolean autoStart)
Issues a commit() command to the JDBC connection.
|
void |
handleRollback(java.sql.Connection conn,
boolean autoStart)
Issues a rollback() command to the JDBC connection.
|
protected void |
postChanges() |
void |
registerSynchronization(DBTransaction dbtrans) |
protected void |
rollback() |
protected void |
validate() |
begin, end, handleClose, handleOpen, resume, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbegin, handleClose, handleOpen, resume, suspendprotected abstract void doRegister()
public void handleCommit(java.sql.Connection conn,
boolean autoStart)
DefaultTxnHandlerImplhandleCommit in interface TransactionHandlerhandleCommit in class DefaultTxnHandlerImplpublic void handleRollback(java.sql.Connection conn,
boolean autoStart)
DefaultTxnHandlerImplhandleRollback in interface TransactionHandlerhandleRollback in class DefaultTxnHandlerImplpublic void registerSynchronization(DBTransaction dbtrans)
registerSynchronization in interface JTATransactionHandlerprotected DBTransaction getDBTransaction()
protected void disconnect()
protected void postChanges()
protected void validate()
protected void rollback()
protected void commit()
public void beginActivation()
beginActivation in interface TransactionHandlerbeginActivation in class DefaultTxnHandlerImplpublic void endActivation()
endActivation in interface TransactionHandlerendActivation in class DefaultTxnHandlerImplpublic void beginPassivation()
beginPassivation in interface TransactionHandlerbeginPassivation in class DefaultTxnHandlerImplpublic void endPassivation()
endPassivation in interface TransactionHandlerendPassivation in class DefaultTxnHandlerImpl