Updated job.adoc to have java config examples

This commit addresses the job.adoc and how to configure the various
pieces of the framework it covers via java configuration.
This commit is contained in:
Michael Minella
2017-10-03 12:58:59 -05:00
parent dd8809232e
commit 24fbb882e6
3 changed files with 605 additions and 57 deletions

View File

@@ -97,7 +97,6 @@ import org.springframework.transaction.PlatformTransactionManager;
* <li>a {@link JobRepository} (bean name "jobRepository")</li>
* <li>a {@link JobLauncher} (bean name "jobLauncher")</li>
* <li>a {@link JobRegistry} (bean name "jobRegistry")</li>
* <li>a {@link org.springframework.batch.core.launch.JobOperator} (bean name "jobOperator")</li>
* <li>a {@link org.springframework.batch.core.explore.JobExplorer} (bean name "jobExplorer")</li>
* <li>a {@link PlatformTransactionManager} (bean name "transactionManager")</li>
* <li>a {@link JobBuilderFactory} (bean name "jobBuilders") as a convenience to prevent you from having to inject the

File diff suppressed because it is too large Load Diff

View File

@@ -15,8 +15,6 @@
*/
package org.springframework.batch.test;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import org.springframework.batch.core.ExitStatus;
@@ -36,6 +34,8 @@ import org.springframework.context.annotation.AnnotationConfigApplicationContext
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import static org.junit.Assert.assertEquals;
/**
* @author mminella
*/