public class EJBTxnHandlerImpl extends java.lang.Object implements JTATransactionHandler
| Constructor and Description | 
|---|
| EJBTxnHandlerImpl(javax.ejb.SessionContext ctx,
                 int timeout,
                 boolean timeoutAfterBegin) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | begin() | 
| void | beginActivation() | 
| void | beginPassivation() | 
| void | end() | 
| void | endActivation() | 
| void | endPassivation() | 
| protected int | getStatus() | 
| void | handleClose(java.sql.Connection conn)Terminates the transaction. | 
| void | handleCommit(java.sql.Connection conn,
            boolean autoStart)Commits changes to the database. | 
| void | handleOpen(java.sql.Connection conn)Initializes the transaction. | 
| void | handleRollback(java.sql.Connection c,
              boolean autoStart)Discards changes to the database. | 
| void | registerSynchronization(DBTransaction txn) | 
| void | resume() | 
| void | suspend() | 
public EJBTxnHandlerImpl(javax.ejb.SessionContext ctx,
                 int timeout,
                 boolean timeoutAfterBegin)
public final void begin()
begin in interface TransactionHandlerpublic final void end()
public final void handleOpen(java.sql.Connection conn)
TransactionHandlerhandleOpen in interface TransactionHandlerpublic final void handleCommit(java.sql.Connection conn,
                boolean autoStart)
TransactionHandlerhandleCommit in interface TransactionHandlerpublic final void handleRollback(java.sql.Connection c,
                  boolean autoStart)
TransactionHandlerhandleRollback in interface TransactionHandlerpublic void handleClose(java.sql.Connection conn)
TransactionHandlerhandleClose in interface TransactionHandlerpublic void registerSynchronization(DBTransaction txn)
registerSynchronization in interface JTATransactionHandlerprotected int getStatus()
public void suspend()
suspend in interface TransactionHandlerpublic void resume()
resume in interface TransactionHandlerpublic void beginActivation()
beginActivation in interface TransactionHandlerpublic void endActivation()
endActivation in interface TransactionHandlerpublic void beginPassivation()
beginPassivation in interface TransactionHandlerpublic void endPassivation()
endPassivation in interface TransactionHandler