Class MailNotificationJobDelegate

  • All Implemented Interfaces:
    org.apache.syncope.core.provisioning.api.job.JobDelegate, org.apache.syncope.core.provisioning.api.notification.NotificationJobDelegate

    public class MailNotificationJobDelegate
    extends AbstractNotificationJobDelegate
    • Field Detail

      • mailSender

        protected final org.springframework.mail.javamail.JavaMailSender mailSender
    • Constructor Detail

      • MailNotificationJobDelegate

        public MailNotificationJobDelegate​(org.apache.syncope.core.persistence.api.dao.TaskDAO taskDAO,
                                           org.apache.syncope.core.persistence.api.entity.task.TaskUtilsFactory taskUtilsFactory,
                                           org.apache.syncope.core.provisioning.api.AuditManager auditManager,
                                           org.apache.syncope.core.provisioning.api.notification.NotificationManager notificationManager,
                                           org.springframework.context.ApplicationEventPublisher publisher,
                                           org.springframework.mail.javamail.JavaMailSender mailSender)
    • Method Detail

      • notify

        protected void notify​(String to,
                              org.apache.syncope.core.persistence.api.entity.task.NotificationTask task,
                              org.apache.syncope.core.persistence.api.entity.task.TaskExec<org.apache.syncope.core.persistence.api.entity.task.NotificationTask> execution)
                       throws Exception
        Specified by:
        notify in class AbstractNotificationJobDelegate
        Throws:
        Exception