Skip to content

Instantly share code, notes, and snippets.

@golery
Created September 1, 2018 17:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save golery/6ffc53472d8a71305c5bc8bca59c6e6c to your computer and use it in GitHub Desktop.
Save golery/6ffc53472d8a71305c5bc8bca59c6e6c to your computer and use it in GitHub Desktop.
Spring boot config
@Configuration
@EnableBatchProcessing
// LEARN: @EnableBatchProcessing simply triggers the creation of basic beans (ex: jobBuilderFactory, steamBuilderFactory)
public class BatchConfiguration {
@Autowired
public JobBuilderFactory jobBuilderFactory;
@Autowired
public StepBuilderFactory stepBuilderFactory;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment