org.objectweb.jotm
Class TransactionRecoveryImpl
- TransactionRecovery
public class TransactionRecoveryImpl
- Tony Ortiz
TransactionRecoveryImpl
public TransactionRecoveryImpl()
throws LogException,
IOException,
Exception
Default constructor.
forget
public void forget()
throws LogException,
Exception
close Transaction Recovery Log
- forget in interface TransactionRecovery
getTransactionRecovery
public static TransactionRecoveryImpl getTransactionRecovery()
Returns the unique instance of the class or null
if not
initialized in case of plain client.
- The
TransactionRecovery
object created
howlCommitLog
public XACommittingTx howlCommitLog(byte[][] xaCmRec)
throws LogException,
Exception
write the Commit record to the Howl Log
howlDoneLog
public void howlDoneLog(byte[][] xaDnRec,
XACommittingTx xaCmTx)
throws LogException,
Exception
write the Done record to the Howl Log
recoverResourceManager
public void recoverResourceManager()
throws XAException
Recover a Resource Manager with the JOTM Transaction Manager.
reportResourceManager
public XAResource reportResourceManager(String rmName)
throws XAException
Provide information regarding the status and state of the XAResource.
- reportResourceManager in interface TransactionRecovery
rmName
- The Resource Manager to be reported upon.
- XAResource The XAResource assigned to the Resource Managere.
unregisterResourceManager
public void unregisterResourceManager(String rmName,
XAResource rmXares)
throws XAException
Unregister a Resource Manager from the JOTM Transaction Manager.
- unregisterResourceManager in interface TransactionRecovery
rmName
- The Resource Manager to be unregistered.