org.objectweb.jotm
Class JotmRecovery

java.lang.Object
  extended byorg.objectweb.jotm.JotmRecovery

public class JotmRecovery
extends Object


Constructor Summary
JotmRecovery()
          Constructor.
 
Method Summary
static JotmRecovery getJotmRecovery()
          Returns the unique instance of the class or null if not initialized.
static Vector getRecoverRmInfo()
          Returns the unique instance of the class or null if not initialized.
 int getRmIndex(byte[] pxares)
          Returns the index of the Resource Manager's XAResource.
static Vector getTxRecovered()
          Returns the unique instance of the class or null if not initialized.
 Vector getUserRecoveryVector()
           
 void rebuildTransaction(org.objectweb.howl.log.xa.XALogRecord lr)
          Processes an XACOMMIT entry (putCommit) that does not have an associated XADONE entry (putDone).
 void recoverTransactions(Vector rmreg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JotmRecovery

public JotmRecovery()
Constructor.

Method Detail

getJotmRecovery

public static JotmRecovery getJotmRecovery()
Returns the unique instance of the class or null if not initialized.

Returns:
The JotmRecovery object created

getTxRecovered

public static Vector getTxRecovered()
Returns the unique instance of the class or null if not initialized.

Returns:
The TxRecovered vector created

getRecoverRmInfo

public static Vector getRecoverRmInfo()
Returns the unique instance of the class or null if not initialized.

Returns:
The RecoverRmInfo vector created

getRmIndex

public int getRmIndex(byte[] pxares)
Returns the index of the Resource Manager's XAResource.

Returns:
Index of the Resource Manager's XAResource.

getUserRecoveryVector

public Vector getUserRecoveryVector()

rebuildTransaction

public void rebuildTransaction(org.objectweb.howl.log.xa.XALogRecord lr)
Processes an XACOMMIT entry (putCommit) that does not have an associated XADONE entry (putDone).

Parameters:
lr - LogRecord that was passed to onRecord() method.

recoverTransactions

public void recoverTransactions(Vector rmreg)
                         throws XAException
Throws:
XAException