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.JobExecutionListenerbeforeJob in class org.springframework.batch.core.listener.JobExecutionListenerSupportpublic int getOrder()
getOrder in interface org.springframework.core.OrderedCopyright © 2023 VMware, Inc.. All rights reserved.