public class ModuleJobLauncher
extends java.lang.Object
implements org.springframework.context.Lifecycle
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
logger |
Constructor and Description |
---|
ModuleJobLauncher(org.springframework.batch.core.launch.JobLauncher launcher,
org.springframework.batch.core.configuration.JobRegistry registry,
boolean executeBatchJobOnStartup,
JobParametersBean jobParametersBean) |
Modifier and Type | Method and Description |
---|---|
void |
executeBatchJob() |
boolean |
isRunning() |
void |
setGroupName(java.lang.String groupName) |
void |
start() |
void |
stop() |
public ModuleJobLauncher(org.springframework.batch.core.launch.JobLauncher launcher, org.springframework.batch.core.configuration.JobRegistry registry, boolean executeBatchJobOnStartup, JobParametersBean jobParametersBean)
public void start()
start
in interface org.springframework.context.Lifecycle
public void executeBatchJob()
public void stop()
stop
in interface org.springframework.context.Lifecycle
public boolean isRunning()
isRunning
in interface org.springframework.context.Lifecycle
public void setGroupName(java.lang.String groupName)