@Component(value="jobListener") public class SnapshotJobExecutionListener extends Object implements org.springframework.batch.core.JobExecutionListener
| Constructor and Description |
|---|
SnapshotJobExecutionListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterJob(org.springframework.batch.core.JobExecution jobExecution) |
void |
beforeJob(org.springframework.batch.core.JobExecution jobExecution) |
void |
init(ExecutionListenerConfig config) |
void |
setNotificationManager(org.duracloud.common.notification.NotificationManager notificationManager) |
void |
setSnapshotRepo(SnapshotRepo snapshotRepo) |
public void setNotificationManager(org.duracloud.common.notification.NotificationManager notificationManager)
notificationManager - the notificationManager to setpublic void setSnapshotRepo(SnapshotRepo snapshotRepo)
snapshotRepo - the snapshotRepo to setpublic void init(ExecutionListenerConfig config)
@Transactional public void beforeJob(org.springframework.batch.core.JobExecution jobExecution)
beforeJob in interface org.springframework.batch.core.JobExecutionListener@Transactional public void afterJob(org.springframework.batch.core.JobExecution jobExecution)
afterJob in interface org.springframework.batch.core.JobExecutionListenerCopyright © 2014–2015 DuraSpace. All rights reserved.