public class ServiceNonJTATxnHandlerImpl extends DefaultTxnHandlerImpl
| Constructor and Description |
|---|
ServiceNonJTATxnHandlerImpl(java.lang.String txnId,
boolean inTransaction) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCompletion() |
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.
|
boolean |
isInTransaction() |
void |
setInTransaction(boolean inTransaction) |
begin, beginActivation, beginPassivation, end, endActivation, endPassivation, handleClose, handleOpen, resume, suspendpublic ServiceNonJTATxnHandlerImpl(java.lang.String txnId,
boolean inTransaction)
public void setInTransaction(boolean inTransaction)
public boolean isInTransaction()
public void handleCommit(java.sql.Connection conn,
boolean autoStart)
handleCommit in interface TransactionHandlerhandleCommit in class DefaultTxnHandlerImplDMLException - if an attempt to post to the database was
unsuccessful.public void handleRollback(java.sql.Connection conn,
boolean autoStart)
handleRollback in interface TransactionHandlerhandleRollback in class DefaultTxnHandlerImplDMLException - if an attempt to post to the database was
unsuccessful.public void afterCompletion()