Skip to content

Commit 74df41d

Browse files
committed
Document default types of beans registered by EnableBatchProcessing
Resolves #3993
1 parent cfbe884 commit 74df41d

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-2018 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.
@@ -100,10 +100,10 @@
100100
* able to <code>&#064;Autowired</code> some useful stuff into your context:
101101
*
102102
* <ul>
103-
* <li>a {@link JobRepository} (bean name "jobRepository")</li>
104-
* <li>a {@link JobLauncher} (bean name "jobLauncher")</li>
105-
* <li>a {@link JobRegistry} (bean name "jobRegistry")</li>
106-
* <li>a {@link org.springframework.batch.core.explore.JobExplorer} (bean name "jobExplorer")</li>
103+
* <li>a {@link JobRepository} (bean name "jobRepository" of type {@link org.springframework.batch.core.repository.support.SimpleJobRepository})</li>
104+
* <li>a {@link JobLauncher} (bean name "jobLauncher" of type {@link org.springframework.batch.core.launch.support.SimpleJobLauncher})</li>
105+
* <li>a {@link JobRegistry} (bean name "jobRegistry" of type {@link org.springframework.batch.core.configuration.support.MapJobRegistry})</li>
106+
* <li>a {@link org.springframework.batch.core.explore.JobExplorer} (bean name "jobExplorer" of type {@link org.springframework.batch.core.explore.support.SimpleJobExplorer})</li>
107107
* <li>a {@link PlatformTransactionManager} (bean name "transactionManager")</li>
108108
* <li>a {@link JobBuilderFactory} (bean name "jobBuilders") as a convenience to prevent you from having to inject the
109109
* job repository into every job, as in the examples above</li>

0 commit comments

Comments
 (0)