IN PROGRESS - issue BATCH-159: JobExecutor should return a JobExecution (which itself contains the ExitStatus)
http://opensource.atlassian.com/projects/spring/browse/BATCH-159 Fix broken test case for misconfigured launcher
This commit is contained in:
@@ -178,6 +178,9 @@ public class SimpleJobLauncher implements JobLauncher, InitializingBean,
|
||||
public void afterPropertiesSet() throws Exception {
|
||||
if (jobExecutorFacade==null) {
|
||||
logger.debug("Using SimpleJobExecutorFacade");
|
||||
Assert.notNull(jobConfigurationLocator);
|
||||
Assert.notNull(jobExecutor);
|
||||
Assert.notNull(jobRepository);
|
||||
SimpleJobExecutorFacade jobExecutorFacade = new SimpleJobExecutorFacade();
|
||||
jobExecutorFacade.setJobConfigurationLocator(jobConfigurationLocator);
|
||||
jobExecutorFacade.setJobExecutionListeners(listeners);
|
||||
|
||||
Reference in New Issue
Block a user