Example usage for org.springframework.batch.core.configuration.support MapJobRegistry MapJobRegistry

List of usage examples for org.springframework.batch.core.configuration.support MapJobRegistry MapJobRegistry

Introduction

In this page you can find the example usage for org.springframework.batch.core.configuration.support MapJobRegistry MapJobRegistry.

Prototype

MapJobRegistry

Source Link

Usage

From source file:com.example.configuration.BatchConfiguration.java

@Bean
public JobRegistry jobRegistry() {
    return new MapJobRegistry();
}

From source file:com.apress.prospringintegration.springbatch.integration.BatchConfiguration.java

@Bean
public MapJobRegistry jobRegistry() {
    MapJobRegistry jobRegistry = new MapJobRegistry();
    return jobRegistry;
}

From source file:org.cloudfoundry.workers.stocks.batch.BatchConfiguration.java

/**
 * Registers Spring Batch {@link Job jobs} with the
 * {@link JobRegistryBeanPostProcessor}/* w  ww . ja v  a 2  s .co m*/
 * 
 * @see JobRegistryBeanPostProcessor
 * @throws Exception
 */
@Bean
public MapJobRegistry mapJobRegistry() throws Exception {
    return new MapJobRegistry();
}