|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.2.0) E17483-03 |
||||||||
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 TransactionHandler
public final void end()
public final void handleOpen(java.sql.Connection conn)
TransactionHandler
handleOpen
in interface TransactionHandler
public final void handleCommit(java.sql.Connection conn, boolean autoStart)
TransactionHandler
handleCommit
in interface TransactionHandler
public final void handleRollback(java.sql.Connection c, boolean autoStart)
TransactionHandler
handleRollback
in interface TransactionHandler
public void handleClose(java.sql.Connection conn)
TransactionHandler
handleClose
in interface TransactionHandler
public void registerSynchronization(DBTransaction txn)
registerSynchronization
in interface JTATransactionHandler
protected int getStatus()
public void suspend()
suspend
in interface TransactionHandler
public void resume()
resume
in interface TransactionHandler
public void beginActivation()
beginActivation
in interface TransactionHandler
public void endActivation()
endActivation
in interface TransactionHandler
public void beginPassivation()
beginPassivation
in interface TransactionHandler
public void endPassivation()
endPassivation
in interface TransactionHandler
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.2.0) E17483-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |