Updated to use latest Boot paradigms

This commit is contained in:
Michael Minella
2017-07-20 13:08:26 -05:00
parent 75ab909314
commit 78e90ab278

View File

@@ -75,8 +75,6 @@ The quickest way to get started with Spring Batch is to use Spring Boot.
````java
@Configuration
@EnableBatchProcessing
@EnableAutoConfiguration
public class BatchConfiguration {
@Autowired
@@ -108,6 +106,8 @@ The quickest way to get started with Spring Batch is to use Spring Boot.
3. Create a main class to run your batch job from
````java
@EnableBatchProcessing
@SpringBootApplication
public class Main {
public static void main(String [] args) {
System.exit(SpringApplication.exit(SpringApplication.run(