Example usage for org.springframework.batch.core.launch.support JobRegistryBackgroundJobRunner stop

List of usage examples for org.springframework.batch.core.launch.support JobRegistryBackgroundJobRunner stop

Introduction

In this page you can find the example usage for org.springframework.batch.core.launch.support JobRegistryBackgroundJobRunner stop.

Prototype

public static void stop() 

Source Link

Document

If embedded in a JVM, call this method to terminate the main method.

Usage

From source file:org.springframework.batch.sample.launch.RemoteLauncherTests.java

@AfterClass
public static void cleanUp() {
    JobRegistryBackgroundJobRunner.stop();
}