org.apache.geronimo.transaction.manager
Class RecoveryImpl

java.lang.Object
  extended by org.apache.geronimo.transaction.manager.RecoveryImpl
All Implemented Interfaces:
Recovery

public class RecoveryImpl
extends Object
implements Recovery

Version:
$Rev: 727065 $ $Date: 2008-12-16 10:22:22 -0500 (Tue, 16 Dec 2008) $

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.geronimo.transaction.manager.Recovery
Recovery.XidBranchesPair
 
Constructor Summary
RecoveryImpl(TransactionLog txLog, XidFactory xidFactory)
           
 
Method Summary
 Map getExternalXids()
           
 List getRecoveryErrors()
           
 boolean hasRecoveryErrors()
           
 boolean localRecoveryComplete()
           
 int localUnrecoveredCount()
           
 void recoverLog()
           
 void recoverResourceManager(NamedXAResource xaResource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecoveryImpl

public RecoveryImpl(TransactionLog txLog,
                    XidFactory xidFactory)
Method Detail

recoverLog

public void recoverLog()
                throws XAException
Specified by:
recoverLog in interface Recovery
Throws:
XAException

recoverResourceManager

public void recoverResourceManager(NamedXAResource xaResource)
                            throws XAException
Specified by:
recoverResourceManager in interface Recovery
Throws:
XAException

hasRecoveryErrors

public boolean hasRecoveryErrors()
Specified by:
hasRecoveryErrors in interface Recovery

getRecoveryErrors

public List getRecoveryErrors()
Specified by:
getRecoveryErrors in interface Recovery

localRecoveryComplete

public boolean localRecoveryComplete()
Specified by:
localRecoveryComplete in interface Recovery

localUnrecoveredCount

public int localUnrecoveredCount()
Specified by:
localUnrecoveredCount in interface Recovery

getExternalXids

public Map getExternalXids()
Specified by:
getExternalXids in interface Recovery


Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.