org.apache.ojb.broker.transaction
Interface OJBTxManager


public interface OJBTxManager

Class give support in transaction handling.

Version:
$Id: OJBTxManager.java,v 1.1 2007-08-24 22:17:39 ewestfal Exp $
Author:
Armin Waibel

Method Summary
 void deregisterTx(OJBTxObject obj)
           
 Transaction getCurrentJTATransaction()
          Returns the current transaction for the calling thread.
 Transaction getJTATransaction()
          Returns the current transaction for the calling thread or null if no transaction was found.
 void registerTx(OJBTxObject obj)
           
 

Method Detail

registerTx

void registerTx(OJBTxObject obj)

deregisterTx

void deregisterTx(OJBTxObject obj)

getJTATransaction

Transaction getJTATransaction()
Returns the current transaction for the calling thread or null if no transaction was found.

See Also:
getCurrentJTATransaction()

getCurrentJTATransaction

Transaction getCurrentJTATransaction()
Returns the current transaction for the calling thread.

Throws:
TransactionNotInProgressException - if no transaction was found.
See Also:
getJTATransaction()


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