RESOLVED - BATCH-629: CommandLineJobRunner should allow injection of JobParametersConverter

This commit is contained in:
robokaso
2008-05-16 08:26:40 +00:00
parent 307054d615
commit 1d386ee0d2
3 changed files with 51 additions and 13 deletions

View File

@@ -157,6 +157,15 @@ public class CommandLineJobRunner {
public void setSystemExiter(SystemExiter systemExitor) {
this.systemExiter = systemExitor;
}
/**
* Injection setter for {@link JobParametersConverter}.
*
* @param jobParametersConverter
*/
public void setJobParametersConverter(JobParametersConverter jobParametersConverter) {
this.jobParametersConverter = jobParametersConverter;
}
/**
* Delegate to the exiter to (possibly) exit the VM gracefully.
@@ -170,6 +179,7 @@ public class CommandLineJobRunner {
public void setJobLocator(JobLocator jobLocator) {
this.jobLocator = jobLocator;
}
/*
* Start a job by obtaining a combined classpath using the job launcher and