类 JvmSystemExiter
- java.lang.Object
- org.springframework.batch.core.launch.support.JvmSystemExiter
- 所有已实现的接口:
SystemExiter
public class JvmSystemExiter extends java.lang.Object implements SystemExiter
Implementation of theSystemExiter
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
构造器概要
构造器 构造器 说明 JvmSystemExiter()
构造器详细资料
JvmSystemExiter
public JvmSystemExiter()
方法详细资料
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.- 指定者:
exit
在接口中SystemExiter
- 参数:
status
- exit status.- 另请参阅:
SystemExiter.exit(int)