Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

oracle.jbo.server
Class DefaultJTATxnHandlerImpl

java.lang.Object
  extended byoracle.jbo.server.DefaultTxnHandlerImpl
      extended byoracle.jbo.server.DefaultJTATxnHandlerImpl
All Implemented Interfaces:
JTATransactionHandler, TransactionHandler
Direct Known Subclasses:
ContainerManagedTxnHandlerImpl, JTATxnHandlerImpl

public abstract class DefaultJTATxnHandlerImpl
extends DefaultTxnHandlerImpl
implements JTATransactionHandler


Constructor Summary
DefaultJTATxnHandlerImpl()
           
 
Method Summary
 void beginActivation()
           
 void beginPassivation()
           
protected  void commit()
           
protected  void disconnect()
           
protected abstract  void doRegister()
           
 void endActivation()
           
 void endPassivation()
           
protected  DBTransaction getDBTransaction()
           
 void handleCommit(java.sql.Connection conn, boolean autoStart)
          Commits changes to the database.
 void handleRollback(java.sql.Connection conn, boolean autoStart)
          Discards changes to the database.
protected  void postChanges()
           
 void registerSynchronization(DBTransaction dbtrans)
           
protected  void rollback()
           
 
Methods inherited from class oracle.jbo.server.DefaultTxnHandlerImpl
begin, end, handleClose, handleOpen, resume, suspend
 
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, handleOpen, resume, suspend
 

Constructor Detail

DefaultJTATxnHandlerImpl

public DefaultJTATxnHandlerImpl()
Method Detail

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

Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

 

Copyright © 1997, 2004, Oracle. All rights reserved.