Class 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 Detail

      • SnapshotJobExecutionListener

        public SnapshotJobExecutionListener()
    • Method Detail

      • setNotificationManager

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

        public void setSnapshotRepo​(org.duracloud.snapshot.db.repo.SnapshotRepo snapshotRepo)
        Parameters:
        snapshotRepo - the snapshotRepo to set
      • 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