public class TaskBatchExecutionListener
extends org.springframework.batch.core.listener.JobExecutionListenerSupport
implements org.springframework.core.Ordered
Constructor and Description |
---|
TaskBatchExecutionListener(TaskBatchDao taskBatchDao) |
Modifier and Type | Method and Description |
---|---|
void |
beforeJob(org.springframework.batch.core.JobExecution jobExecution) |
int |
getOrder() |
void |
onTaskStartup(TaskExecution taskExecution) |
public TaskBatchExecutionListener(TaskBatchDao taskBatchDao)
taskBatchDao
- dao used to persist the relationship. Must not be null@BeforeTask public void onTaskStartup(TaskExecution taskExecution)
public void beforeJob(org.springframework.batch.core.JobExecution jobExecution)
beforeJob
in interface org.springframework.batch.core.JobExecutionListener
beforeJob
in class org.springframework.batch.core.listener.JobExecutionListenerSupport
public int getOrder()
getOrder
in interface org.springframework.core.Ordered
Copyright © 2022 VMware, Inc.. All rights reserved.