doStart -> doRun
This commit is contained in:
@@ -147,7 +147,7 @@ public abstract class AbstractJobLauncher implements JobLauncher,
|
||||
* the {@link JobIdentifier} to start the launcher with.
|
||||
* @throws NoSuchJobConfigurationException
|
||||
*/
|
||||
protected abstract void doStart(JobIdentifier jobIdentifier)
|
||||
protected abstract void doRun(JobIdentifier jobIdentifier)
|
||||
throws NoSuchJobConfigurationException;
|
||||
|
||||
/**
|
||||
@@ -173,7 +173,7 @@ public abstract class AbstractJobLauncher implements JobLauncher,
|
||||
}
|
||||
|
||||
register(jobIdentifier);
|
||||
doStart(jobIdentifier);
|
||||
doRun(jobIdentifier);
|
||||
|
||||
/*
|
||||
* Subclasses have to take care of unregistering the runtimeInformation -
|
||||
|
||||
@@ -96,7 +96,7 @@ public class TaskExecutorJobLauncher extends AbstractJobLauncher implements Appl
|
||||
*
|
||||
* @throws IllegalStateException if JobConfiguration is null.
|
||||
*/
|
||||
protected void doStart(final JobIdentifier runtimeInformation) {
|
||||
protected void doRun(final JobIdentifier runtimeInformation) {
|
||||
|
||||
Assert.state(taskExecutor != null, "TaskExecutor must be provided");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user