Created
September 1, 2018 17:18
-
-
Save golery/6ffc53472d8a71305c5bc8bca59c6e6c to your computer and use it in GitHub Desktop.
Spring boot config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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