org.apache.ojb.otm.transaction
Class ManagedTransactionFactory.ManagedConnection

java.lang.Object
  extended by org.apache.ojb.otm.core.BaseConnection
      extended by org.apache.ojb.otm.transaction.ManagedTransactionFactory.ManagedConnection
All Implemented Interfaces:
OTMConnection
Enclosing class:
ManagedTransactionFactory

private static class ManagedTransactionFactory.ManagedConnection
extends BaseConnection


Constructor Summary
ManagedTransactionFactory.ManagedConnection(PBKey pbKey)
           
 
Method Summary
 void transactionBegin()
          Notification issued by the driving transaction to begin this transaction
 void transactionCommit()
          Notification issued by the driving transaction to commit resources held by this connection.
 void transactionPrepare()
          Prepare for a commit.
 void transactionRollback()
          Notification issued by the driving transaction to rollback resources held by this connection.
 
Methods inherited from class org.apache.ojb.otm.core.BaseConnection
close, deletePersistent, getCollectionByQuery, getCollectionByQuery, getCount, getDescriptorFor, getEditingContext, getIdentity, getIteratorByOQLQuery, getIteratorByOQLQuery, getIteratorByQuery, getIteratorByQuery, getKernelBroker, getObjectByIdentity, getObjectByIdentity, getTransaction, invalidate, invalidateAll, isClosed, lockForWrite, makePersistent, newOQLQuery, newOQLQuery, refresh, serviceObjectCache, setTransaction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedTransactionFactory.ManagedConnection

public ManagedTransactionFactory.ManagedConnection(PBKey pbKey)
Method Detail

transactionBegin

public void transactionBegin()
                      throws TransactionException
Description copied from class: BaseConnection
Notification issued by the driving transaction to begin this transaction

Specified by:
transactionBegin in class BaseConnection
Throws:
TransactionException
See Also:
BaseConnection.transactionBegin()

transactionPrepare

public void transactionPrepare()
                        throws TransactionException
Description copied from class: BaseConnection
Prepare for a commit. As part of a two phase commit protocol of the transaction.

Specified by:
transactionPrepare in class BaseConnection
Throws:
TransactionException
See Also:
BaseConnection.transactionPrepare()

transactionCommit

public void transactionCommit()
                       throws TransactionException
Description copied from class: BaseConnection
Notification issued by the driving transaction to commit resources held by this connection.

Specified by:
transactionCommit in class BaseConnection
Throws:
TransactionException
See Also:
BaseConnection.transactionCommit()

transactionRollback

public void transactionRollback()
                         throws TransactionException
Description copied from class: BaseConnection
Notification issued by the driving transaction to rollback resources held by this connection.

Specified by:
transactionRollback in class BaseConnection
Throws:
TransactionException
See Also:
BaseConnection.transactionRollback()


Copyright © 2007-2012 The Kuali Foundation. All Rights Reserved.