File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
spring-batch-core/src/main/java/org/springframework/batch/core/launch/support Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ public class SimpleJobOperator extends TaskExecutorJobLauncher implements JobOpe
9090 private static final String ILLEGAL_STATE_MSG = "Illegal state (only happens on a race condition): "
9191 + "%s with name=%s and parameters=%s" ;
9292
93- protected ListableJobLocator jobRegistry ;
93+ protected JobRegistry jobRegistry ;
9494
9595 protected JobParametersConverter jobParametersConverter = new DefaultJobParametersConverter ();
9696
@@ -117,10 +117,10 @@ public void setJobParametersConverter(JobParametersConverter jobParametersConver
117117 }
118118
119119 /**
120- * Public setter for the {@link ListableJobLocator }.
121- * @param jobRegistry the {@link ListableJobLocator } to set
120+ * Public setter for the {@link JobRegistry }.
121+ * @param jobRegistry the {@link JobRegistry } to set
122122 */
123- public void setJobRegistry (ListableJobLocator jobRegistry ) {
123+ public void setJobRegistry (JobRegistry jobRegistry ) {
124124 this .jobRegistry = jobRegistry ;
125125 }
126126
Original file line number Diff line number Diff line change 1616package org .springframework .batch .core .launch .support ;
1717
1818import org .springframework .batch .core .configuration .JobRegistry ;
19- import org .springframework .batch .core .configuration .ListableJobLocator ;
2019import org .springframework .batch .core .launch .JobOperator ;
2120import org .springframework .batch .core .repository .JobRepository ;
2221
4342public class TaskExecutorJobOperator extends SimpleJobOperator {
4443
4544 /**
46- * Public setter for the {@link ListableJobLocator }.
47- * @param jobRegistry the {@link ListableJobLocator } to set
45+ * Public setter for the {@link JobRegistry }.
46+ * @param jobRegistry the {@link JobRegistry } to set
4847 */
4948 @ Override
50- public void setJobRegistry (ListableJobLocator jobRegistry ) {
49+ public void setJobRegistry (JobRegistry jobRegistry ) {
5150 this .jobRegistry = jobRegistry ;
5251 }
5352
You can’t perform that action at this time.
0 commit comments