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:
@@ -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
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user