From a861de203f2f39b6b0cd5a6616acecd86cfc1560 Mon Sep 17 00:00:00 2001 From: Glenn Renfro Date: Tue, 25 Jul 2017 14:54:02 -0400 Subject: [PATCH] Fixed a config doc to use EnableBatchProcessing Was using EnableBatchConfiguration --- spring-batch-docs/asciidoc/job.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-batch-docs/asciidoc/job.adoc b/spring-batch-docs/asciidoc/job.adoc index e20742fe0..7f3cdddcc 100644 --- a/spring-batch-docs/asciidoc/job.adoc +++ b/spring-batch-docs/asciidoc/job.adoc @@ -250,7 +250,7 @@ The validator can be specified as a reference (as above) or as a Spring 3 brought the ability to configure applications via java instead of XML. As of Spring Batch 2.2.0, batch jobs can be configured using the same java config. There are two components for the java based configuration: - the `@EnableBatchConfiguration` annotation and two builders. + the `@EnableBatchProcessing` annotation and two builders. The `@EnableBatchProcessing` works similarly to the other @Enable* annotations in the Spring family. In this case,