Class RecoveryManagerService

java.lang.Object
com.arjuna.ats.arjuna.services.recovery.RecoveryManagerService
All Implemented Interfaces:
org.tanukisoftware.wrapper.WrapperListener

public class RecoveryManagerService extends Object implements org.tanukisoftware.wrapper.WrapperListener
  • Constructor Details

    • RecoveryManagerService

      public RecoveryManagerService()
  • Method Details

    • start

      public Integer start(String[] args)
      Called when the service is started.
      Specified by:
      start in interface org.tanukisoftware.wrapper.WrapperListener
      Parameters:
      args - The arguments
      Returns:
      The exit code to return if the task didn't start successfully, otherwise null.
    • stop

      public int stop(int exitCode)
      Called when the service is being asked to stop.
      Specified by:
      stop in interface org.tanukisoftware.wrapper.WrapperListener
      Parameters:
      exitCode - The suggested exit code
      Returns:
      The exit code this service should return.
    • controlEvent

      public void controlEvent(int eventCode)
      Passes events to the service
      Specified by:
      controlEvent in interface org.tanukisoftware.wrapper.WrapperListener
      Parameters:
      eventCode -
    • main

      public static void main(String[] args)