org.springframework.batch.core.launch.JobOperator Java Examples
The following examples show how to use
org.springframework.batch.core.launch.JobOperator.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: BatchConfiguration.java From spring-graalvm-native with Apache License 2.0 | 5 votes |
@Bean @ConditionalOnMissingBean(JobOperator.class) public JobOperator jobOperator(ObjectProvider<JobParametersConverter> jobParametersConverter, JobExplorer jobExplorer, JobLauncher jobLauncher, ListableJobLocator jobRegistry, JobRepository jobRepository) throws Exception { System.out.println("FOOBAR"); SimpleJobOperator factory = new SimpleJobOperator(); factory.setJobExplorer(jobExplorer); factory.setJobLauncher(jobLauncher); factory.setJobRegistry(jobRegistry); factory.setJobRepository(jobRepository); jobParametersConverter.ifAvailable(factory::setJobParametersConverter); return factory; }
Example #2
Source File: DefaultJobService.java From spring-batch-lightmin with Apache License 2.0 | 5 votes |
public DefaultJobService(final JobOperator jobOperator, final JobRegistry jobRegistry, final JobExplorer jobExplorer, final LightminJobExecutionDao lightminJobExecutionDao) { this.jobOperator = jobOperator; this.jobRegistry = jobRegistry; this.jobExplorer = jobExplorer; this.lightminJobExecutionDao = lightminJobExecutionDao; }
Example #3
Source File: JobMonitoringController.java From spring-boot-starter-batch-web with Apache License 2.0 | 5 votes |
public JobMonitoringController(JobOperator jobOperator, JobExplorer jobExplorer, RunningExecutionTracker runningExecutionTracker) { super(); this.jobOperator = jobOperator; this.jobExplorer = jobExplorer; this.runningExecutionTracker = runningExecutionTracker; }
Example #4
Source File: JobOperationsController.java From spring-boot-starter-batch-web with Apache License 2.0 | 5 votes |
public JobOperationsController(JobOperator jobOperator, JobExplorer jobExplorer, JobRegistry jobRegistry, JobRepository jobRepository, JobLauncher jobLauncher, JsrJobOperator jsrJobOperator) { super(); this.jobOperator = jobOperator; this.jobExplorer = jobExplorer; this.jobRegistry = jobRegistry; this.jobRepository = jobRepository; this.jobLauncher = jobLauncher; this.jsrJobOperator = jsrJobOperator; }
Example #5
Source File: BaseConfiguration.java From spring-boot-starter-batch-web with Apache License 2.0 | 4 votes |
public JobOperator jobOperator() { return jobOperator; }