org.apache.ojb.broker.transaction
Interface OJBTxManager


public interface OJBTxManager

Class give support in transaction handling.

Version:
$Id: OJBTxManager.java 365232 2005-12-21 22:36:07Z tomdz $
Author:
Armin Waibel

Method Summary
 void deregisterTx(OJBTxObject obj)
           
 javax.transaction.Transaction getCurrentJTATransaction()
          Returns the current transaction for the calling thread.
 javax.transaction.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

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

See Also:
getCurrentJTATransaction()

getCurrentJTATransaction

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

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


(C) 2002 - 2006 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30