oracle.jbo.server
Class DefaultJTATxnHandlerImpl
java.lang.Object
oracle.jbo.server.DefaultTxnHandlerImpl
oracle.jbo.server.DefaultJTATxnHandlerImpl
- All Implemented Interfaces:
- JTATransactionHandler, TransactionHandler
- Direct Known Subclasses:
- ContainerManagedTxnHandlerImpl, JTATxnHandlerImpl
- public abstract class DefaultJTATxnHandlerImpl
- extends DefaultTxnHandlerImpl
- implements JTATransactionHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultJTATxnHandlerImpl
public DefaultJTATxnHandlerImpl()
doRegister
protected abstract void doRegister()
handleCommit
public void handleCommit(java.sql.Connection conn,
boolean autoStart)
- Description copied from interface:
TransactionHandler
- Commits changes to the database.
- Specified by:
handleCommit
in interface TransactionHandler
- Overrides:
handleCommit
in class DefaultTxnHandlerImpl
handleRollback
public void handleRollback(java.sql.Connection conn,
boolean autoStart)
- Description copied from interface:
TransactionHandler
- Discards changes to the database.
- Specified by:
handleRollback
in interface TransactionHandler
- Overrides:
handleRollback
in class DefaultTxnHandlerImpl
registerSynchronization
public void registerSynchronization(DBTransaction dbtrans)
- Specified by:
registerSynchronization
in interface JTATransactionHandler
getDBTransaction
protected DBTransaction getDBTransaction()
disconnect
protected void disconnect()
postChanges
protected void postChanges()
rollback
protected void rollback()
commit
protected void commit()
beginActivation
public void beginActivation()
- Specified by:
beginActivation
in interface TransactionHandler
- Overrides:
beginActivation
in class DefaultTxnHandlerImpl
endActivation
public void endActivation()
- Specified by:
endActivation
in interface TransactionHandler
- Overrides:
endActivation
in class DefaultTxnHandlerImpl
beginPassivation
public void beginPassivation()
- Specified by:
beginPassivation
in interface TransactionHandler
- Overrides:
beginPassivation
in class DefaultTxnHandlerImpl
endPassivation
public void endPassivation()
- Specified by:
endPassivation
in interface TransactionHandler
- Overrides:
endPassivation
in class DefaultTxnHandlerImpl
Copyright © 1997, 2004, Oracle. All rights reserved.