|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jbo.server.DefaultTxnHandlerImpl
oracle.jbo.server.DefaultJTATxnHandlerImpl
oracle.jbo.server.JTATxnHandlerImpl
oracle.jbo.server.svc.ServiceJTATxnHandlerImpl
public class ServiceJTATxnHandlerImpl
ADF service specific JTA transaction handler, subclassing from bc4j's JTATxnHanderImpl
Constructor Summary | |
---|---|
ServiceJTATxnHandlerImpl(java.lang.String appModuleName,
java.lang.String transactionId)
Constructor |
Method Summary | |
---|---|
void |
afterCompletion(int status)
JTA synchronization call after transaction completion. |
void |
beforeCompletion()
JTA synchronization call before transaction completion |
void |
commit()
|
void |
doRegister()
Register itself to JTA as one of the synchornization for the current transaction. |
void |
handleCommit(java.sql.Connection c,
boolean autoStart)
Issues a commit() command to the JDBC connection. |
void |
handleOpen(java.sql.Connection conn)
Opens a transaction. |
boolean |
isInTransaction()
check if this transaction handler participates in an active JTA transaction or not. |
void |
setDoSynchronization(boolean newdoSynchronization)
|
Methods inherited from class oracle.jbo.server.JTATxnHandlerImpl |
---|
getTransactionId, getTransactionManager, resume, suspend |
Methods inherited from class oracle.jbo.server.DefaultJTATxnHandlerImpl |
---|
beginActivation, beginPassivation, disconnect, endActivation, endPassivation, getDBTransaction, handleRollback, postChanges, registerSynchronization, rollback, validate |
Methods inherited from class oracle.jbo.server.DefaultTxnHandlerImpl |
---|
begin, end, handleClose |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.jbo.server.TransactionHandler |
---|
begin, handleClose |
Constructor Detail |
---|
public ServiceJTATxnHandlerImpl(java.lang.String appModuleName, java.lang.String transactionId)
appModuleName
- the name of the application moduletransactionId
- the JTA transaction idMethod Detail |
---|
public void beforeCompletion()
beforeCompletion
in interface javax.transaction.Synchronization
beforeCompletion
in class JTATxnHandlerImpl
public void commit()
commit
in class DefaultJTATxnHandlerImpl
public void handleCommit(java.sql.Connection c, boolean autoStart)
DefaultTxnHandlerImpl
handleCommit
in interface TransactionHandler
handleCommit
in class DefaultJTATxnHandlerImpl
public void handleOpen(java.sql.Connection conn)
DefaultTxnHandlerImpl
handleOpen
in interface TransactionHandler
handleOpen
in class DefaultTxnHandlerImpl
public void afterCompletion(int status)
afterCompletion
in interface javax.transaction.Synchronization
afterCompletion
in class JTATxnHandlerImpl
public void doRegister()
doRegister
in class JTATxnHandlerImpl
public boolean isInTransaction()
public void setDoSynchronization(boolean newdoSynchronization)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |