Class SnapshotJobExecutionListener

java.lang.Object
org.duracloud.snapshot.service.impl.SnapshotJobExecutionListener
All Implemented Interfaces:
org.springframework.batch.core.JobExecutionListener

@Component("jobListener") public class SnapshotJobExecutionListener extends Object implements org.springframework.batch.core.JobExecutionListener
Author:
Erik Paulsson Date: 2/10/14
  • Constructor Details

    • SnapshotJobExecutionListener

      public SnapshotJobExecutionListener()
  • Method Details

    • setNotificationManager

      public void setNotificationManager(org.duracloud.common.notification.NotificationManager notificationManager)
      Parameters:
      notificationManager - the notificationManager to set
    • setSnapshotRepo

      public void setSnapshotRepo(SnapshotRepo snapshotRepo)
      Parameters:
      snapshotRepo - the snapshotRepo to set
    • init

      public void init(ExecutionListenerConfig config)
    • beforeJob

      @Transactional public void beforeJob(org.springframework.batch.core.JobExecution jobExecution)
      Specified by:
      beforeJob in interface org.springframework.batch.core.JobExecutionListener
    • afterJob

      @Transactional public void afterJob(org.springframework.batch.core.JobExecution jobExecution)
      Specified by:
      afterJob in interface org.springframework.batch.core.JobExecutionListener