@Component public class JobLauncherCommandLineRunner extends Object implements org.springframework.boot.CommandLineRunner, org.springframework.context.ApplicationEventPublisherAware
CommandLineRunner to launch Spring Batch jobs.| Constructor and Description |
|---|
JobLauncherCommandLineRunner() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
launchJobFromProperties(Properties properties) |
void |
run(String... args) |
void |
setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher) |
public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher)
setApplicationEventPublisher in interface org.springframework.context.ApplicationEventPublisherAwarepublic void run(String... args) throws org.springframework.batch.core.JobExecutionException
run in interface org.springframework.boot.CommandLineRunnerorg.springframework.batch.core.JobExecutionExceptionprotected void launchJobFromProperties(Properties properties) throws org.springframework.batch.core.JobExecutionException
org.springframework.batch.core.JobExecutionExceptionCopyright © 2013. All Rights Reserved.