org.ow2.jonas.tm
Interface TransactionManager

All Superinterfaces:
TransactionManager

public interface TransactionManager
extends TransactionManager

JOnAS Transaction Manager interface. Add some methods that lakes in the standard JTA interfaces. - late connection enlistment


Method Summary
 boolean isRecoveryEnabled()
           
 boolean nonJotmTransactionContext()
           
 void notifyConnectionClose(Enlistable mce)
           
 void notifyConnectionError(Enlistable mce)
           
 void notifyConnectionOpen(Enlistable mce)
           
 List popConnectionList()
           
 void pushConnectionList(List cl)
           
 void registerResourceManager(String rmname, XAResource xares, String info, Properties prop, TxResourceManager trm)
          Register a TransactionResourceManager to the TM
 
Methods inherited from interface javax.transaction.TransactionManager
begin, commit, getStatus, getTransaction, resume, rollback, setRollbackOnly, setTransactionTimeout, suspend
 

Method Detail

notifyConnectionOpen

void notifyConnectionOpen(Enlistable mce)

notifyConnectionClose

void notifyConnectionClose(Enlistable mce)

notifyConnectionError

void notifyConnectionError(Enlistable mce)

pushConnectionList

void pushConnectionList(List cl)

popConnectionList

List popConnectionList()

nonJotmTransactionContext

boolean nonJotmTransactionContext()

registerResourceManager

void registerResourceManager(String rmname,
                             XAResource xares,
                             String info,
                             Properties prop,
                             TxResourceManager trm)
                             throws XAException
Register a TransactionResourceManager to the TM

Parameters:
rmname -
xares - XAResource registered
info -
prop -
trm - Object to be called back by the TM or null
Throws:
XAException

isRecoveryEnabled

boolean isRecoveryEnabled()


Copyright © 2010 OW2 Consortium. All Rights Reserved.