Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The following example shows how to configure a `TaskExecutorJobOperator` in Java
@Bean
public JobOperatorFactoryBean jobOperator(JobRepository jobRepository) {
JobOperatorFactoryBean jobOperatorFactoryBean = new JobOperatorFactoryBean();
jobOperator.setJobRepository(jobRepository);
jobOperatorFactoryBean.setJobRepository(jobRepository);
return jobOperatorFactoryBean;
}
...
Expand Down Expand Up @@ -74,8 +74,8 @@ The following Java example configures a `TaskExecutorJobOperator` to return imme
@Bean
public JobOperatorFactoryBean jobOperator(JobRepository jobRepository) {
JobOperatorFactoryBean jobOperatorFactoryBean = new JobOperatorFactoryBean();
jobOperator.setJobRepository(jobRepository);
jobOperator.setTaskExecutor(new SimpleAsyncTaskExecutor());
jobOperatorFactoryBean.setJobRepository(jobRepository);
jobOperatorFactoryBean.setTaskExecutor(new SimpleAsyncTaskExecutor());
return jobOperatorFactoryBean;
}
----
Expand Down