Class BAParticipantRecoveryModule

java.lang.Object
org.jboss.jbossts.xts.recovery.participant.ba.BAParticipantRecoveryModule
All Implemented Interfaces:
RecoveryModule, XTSRecoveryModule

public class BAParticipantRecoveryModule extends Object implements XTSRecoveryModule
This class is a plug-in module for the recovery manager. It is responsible for recovering XTS BA participants (instances of org.jboss.jbossts.xts.recovery.participant.ba.BAParticipantRecoveryRecord) $Id$
  • Constructor Details

    • BAParticipantRecoveryModule

      public BAParticipantRecoveryModule()
  • Method Details

    • install

      public void install()
      called by the service startup code before the recovery module is added to the recovery managers module list
      Specified by:
      install in interface XTSRecoveryModule
    • uninstall

      public void uninstall()
      called by the service shutdown code after the recovery module is removed from the recovery managers module list
      Specified by:
      uninstall in interface XTSRecoveryModule
    • periodicWorkFirstPass

      public void periodicWorkFirstPass()
      This is called periodically by the RecoveryManager
      Specified by:
      periodicWorkFirstPass in interface RecoveryModule
    • periodicWorkSecondPass

      public void periodicWorkSecondPass()
      Description copied from interface: RecoveryModule
      Called by the RecoveryManager RECOVERY_BACKOFF_PERIOD seconds after the completion of the first pass
      Specified by:
      periodicWorkSecondPass in interface RecoveryModule