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


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 © 2006 Apache Software Foundation. All Rights Reserved.