This commit is contained in:
dsyer
2007-10-05 11:18:42 +00:00
parent 343f8a276f
commit 3815390158

View File

@@ -29,7 +29,7 @@ import org.springframework.util.Assert;
*
* <p>
* This simple implementation does not run the job asynchronously, so the start
* method will not return before the job ends. However, the job execution to be
* method will not return before the job ends. However, the job execution can be
* interrupted via the stop method in another thread.
* </p>
*
@@ -63,11 +63,11 @@ public class SimpleJobLauncher extends AbstractJobLauncher {
* @throws IllegalStateException
* if JobConfiguration is null.
*/
protected ExitStatus doRun(JobIdentifier jobIdentifier, Runnable exitCallback)
throws NoSuchJobConfigurationException {
protected ExitStatus doRun(JobIdentifier jobIdentifier,
Runnable exitCallback) throws NoSuchJobConfigurationException {
Assert.notNull(jobIdentifier, "JobIdentifier must not be null.");
Assert.isTrue(running==0,
Assert.isTrue(running == 0,
"This launcher can run only one job at at time.");
/*