Class JvmSystemExiter

All Implemented Interfaces:

public class JvmSystemExiter extends Object implements SystemExiter
Implementation of the SystemExiter interface that calls the standards System.exit method. It should be noted that there will be no unit tests for this class, since there is only one line of actual code, that would only be testable by mocking System or Runtime.
Lucas Ward, Dave Syer
  • Constructor Details

    • JvmSystemExiter

      public JvmSystemExiter()
  • Method Details

    • exit

      public void exit(int status)
      Delegate call to System.exit() with the argument provided. This should only be used in a scenario where a particular status needs to be returned to a Batch scheduler.
      Specified by:
      exit in interface SystemExiter
      status - exit status.
      See Also: