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:
dsyer
2007-11-02 15:51:31 +00:00
parent bf3881fc85
commit f66d163275

View File

@@ -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);