org.unitils.spring.batch
Class SystemExitHelper

java.lang.Object
  extended by org.unitils.spring.batch.SystemExitHelper
All Implemented Interfaces:
org.springframework.batch.core.launch.support.SystemExiter

public class SystemExitHelper
extends Object
implements org.springframework.batch.core.launch.support.SystemExiter

Class to prevent spring batch from terminating the JVM. It also allows the test to recover the response code.

Since:
1.0.0
Author:
Jef Verelst, Jeroen Horemans, Thomas De Rycke, Willemijn Wouters

Constructor Summary
SystemExitHelper()
           
 
Method Summary
 void exit(int status)
           
 int getExitCode()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemExitHelper

public SystemExitHelper()
Method Detail

exit

public void exit(int status)
Specified by:
exit in interface org.springframework.batch.core.launch.support.SystemExiter

getExitCode

public int getExitCode()
Returns:
int


Copyright © 2014. All Rights Reserved.