JobOperator is nothing more than a JobLauncher with more capabilities (it's start method uses JobLauncher#run behind the scenes). Therefore, it should technically be an extension of JobLauncher, adding stop/restart functionality on top of just running jobs.
This issue is to make JobOperator extend JobLauncher, which will greatly simplify the default batch configuration by removing the requirement to define two beans instead of one.
JobOperatoris nothing more than aJobLauncherwith more capabilities (it'sstartmethod usesJobLauncher#runbehind the scenes). Therefore, it should technically be an extension ofJobLauncher, adding stop/restart functionality on top of just running jobs.This issue is to make
JobOperatorextendJobLauncher, which will greatly simplify the default batch configuration by removing the requirement to define two beans instead of one.