Skip to content

Commit 57b2da5

Browse files
committed
Document default types of beans registered by EnableBatchProcessing
Resolves #3993
1 parent e267e1f commit 57b2da5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

spring-batch-core/src/main/java/org/springframework/batch/core/configuration/annotation/EnableBatchProcessing.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2021 the original author or authors.
2+
* Copyright 2012-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -98,10 +98,10 @@
9898
* able to <code>&#064;Autowired</code> some useful stuff into your context:
9999
*
100100
* <ul>
101-
* <li>a {@link JobRepository} (bean name "jobRepository")</li>
102-
* <li>a {@link JobLauncher} (bean name "jobLauncher")</li>
103-
* <li>a {@link JobRegistry} (bean name "jobRegistry")</li>
104-
* <li>a {@link org.springframework.batch.core.explore.JobExplorer} (bean name "jobExplorer")</li>
101+
* <li>a {@link JobRepository} (bean name "jobRepository" of type {@link org.springframework.batch.core.repository.support.SimpleJobRepository})</li>
102+
* <li>a {@link JobLauncher} (bean name "jobLauncher" of type {@link org.springframework.batch.core.launch.support.SimpleJobLauncher})</li>
103+
* <li>a {@link JobRegistry} (bean name "jobRegistry" of type {@link org.springframework.batch.core.configuration.support.MapJobRegistry})</li>
104+
* <li>a {@link org.springframework.batch.core.explore.JobExplorer} (bean name "jobExplorer" of type {@link org.springframework.batch.core.explore.support.SimpleJobExplorer})</li>
105105
* <li>a {@link JobBuilderFactory} (bean name "jobBuilders") as a convenience to prevent you from having to inject the
106106
* job repository into every job, as in the examples above</li>
107107
* <li>a {@link StepBuilderFactory} (bean name "stepBuilders") as a convenience to prevent you from having to inject the

0 commit comments

Comments
 (0)