|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.5.0) E10653-06 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.jbo.server.ejb.EJBTxnHandlerImpl
public class EJBTxnHandlerImpl
DBTransactionImpl implementation that uses the ejb(jts) txn model
| Constructor Summary | |
|---|---|
EJBTxnHandlerImpl(javax.ejb.SessionContext ctx, int timeout, boolean timeoutAfterBegin) |
|
| Method Summary | |
|---|---|
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() |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EJBTxnHandlerImpl(javax.ejb.SessionContext ctx,
int timeout,
boolean timeoutAfterBegin)
| Method Detail |
|---|
public final void begin()
begin in interface TransactionHandlerpublic final void end()
public final void handleOpen(java.sql.Connection conn)
TransactionHandlerhandleOpen in interface TransactionHandler
public final void handleCommit(java.sql.Connection conn,
boolean autoStart)
TransactionHandlerhandleCommit in interface TransactionHandler
public 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
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.5.0) E10653-06 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||