org.springframework.batch.core.configuration.support.MapJobRegistry Java Examples

The following examples show how to use org.springframework.batch.core.configuration.support.MapJobRegistry. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: BeansBatchConfig.java    From jump-the-queue with Apache License 2.0 5 votes vote down vote up
/**
 * This method is creating jobRegistry bean
 *
 * @return MapJobRegistry
 */
@Bean
public MapJobRegistry jobRegistry() {

  this.jobRegistry = new MapJobRegistry();
  return this.jobRegistry;
}
 
Example #2
Source File: BatchConfigurer.java    From CogStack-Pipeline with Apache License 2.0 4 votes vote down vote up
@Bean
public JobRegistry jobRegistry(){
    return new MapJobRegistry();
}
 
Example #3
Source File: SpringBatchLightminBatchConfiguration.java    From spring-batch-lightmin with Apache License 2.0 4 votes vote down vote up
@Bean
@ConditionalOnMissingBean(value = {JobRegistry.class})
public JobRegistry jobRegistry() {
    return new MapJobRegistry();
}