Package org.springframework.batch.core.launch.support

# Interface SystemExiter

All Known Implementing Classes:
  `JvmSystemExiter`

public interface SystemExiter
Interface for exiting the JVM. This abstraction is only useful in order to allow classes that make System.exit calls to be testable, since calling System.exit during a unit test would cause the entire jvm to finish.

Author:
  Lucas Ward

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `exit(int status)`
  Terminate the currently running Java Virtual Machine.

- ## Method Details

  - ### exit

    void exit(int status)
    Terminate the currently running Java Virtual Machine.
    Parameters:
      `status` - exit status.
    Throws:
      `SecurityException` - if a security manager exists and its `checkExit` method doesn't allow exit with the specified status.
    See Also:
      - `System.exit(int)`