public class CustomJobLauncher
extends org.springframework.batch.core.launch.support.SimpleJobLauncher
implements org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
CustomJobLauncher() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
org.springframework.batch.core.repository.dao.JobExecutionDao |
getJobExecutionDao() |
org.springframework.batch.core.JobExecution |
run(org.springframework.batch.core.Job pJob,
org.springframework.batch.core.JobParameters pJobParameters) |
void |
setJobExecutionDao(org.springframework.batch.core.repository.dao.JobExecutionDao jobExecutionDao) |
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class org.springframework.batch.core.launch.support.SimpleJobLauncherExceptionpublic org.springframework.batch.core.JobExecution run(org.springframework.batch.core.Job pJob,
org.springframework.batch.core.JobParameters pJobParameters)
throws org.springframework.batch.core.repository.JobExecutionAlreadyRunningException,
org.springframework.batch.core.repository.JobRestartException,
org.springframework.batch.core.repository.JobInstanceAlreadyCompleteException,
org.springframework.batch.core.JobParametersInvalidException
run in interface org.springframework.batch.core.launch.JobLauncherrun in class org.springframework.batch.core.launch.support.SimpleJobLauncherorg.springframework.batch.core.repository.JobExecutionAlreadyRunningExceptionorg.springframework.batch.core.repository.JobRestartExceptionorg.springframework.batch.core.repository.JobInstanceAlreadyCompleteExceptionorg.springframework.batch.core.JobParametersInvalidExceptionpublic org.springframework.batch.core.repository.dao.JobExecutionDao getJobExecutionDao()
public void setJobExecutionDao(org.springframework.batch.core.repository.dao.JobExecutionDao jobExecutionDao)
Copyright © 2016. All rights reserved.