org.objectweb.jotm
Class JotmRecovery
public class JotmRecovery
JotmRecovery
public JotmRecovery()
Constructor.
getJotmRecovery
public static JotmRecovery getJotmRecovery()
Returns the unique instance of the class or null
if not
initialized.
- The
JotmRecovery
object created
getRecoverRmInfo
public static Vector getRecoverRmInfo()
Returns the unique instance of the class or null
if not
initialized.
- The
RecoverRmInfo
vector created
getRmIndex
public int getRmIndex(byte[] pxares)
Returns the index of the Resource Manager's XAResource.
- Index of the Resource Manager's XAResource.
getTxRecovered
public static Vector getTxRecovered()
Returns the unique instance of the class or null
if not
initialized.
- The
TxRecovered
vector created
getUserRecoveryVector
public Vector getUserRecoveryVector()
rebuildTransaction
public void rebuildTransaction(XALogRecord lr)
Processes an XACOMMIT entry (putCommit) that does not have an associated
XADONE entry (putDone).
lr
- LogRecord that was passed to onRecord() method.
recoverTransactions
public void recoverTransactions(Vector rmreg)
throws XAException