Class MailNotificationJobDelegate
- java.lang.Object
-
- org.apache.syncope.core.provisioning.java.job.notification.AbstractNotificationJobDelegate
-
- org.apache.syncope.core.provisioning.java.job.notification.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 Summary
Fields Modifier and Type Field Description protected org.springframework.mail.javamail.JavaMailSender
mailSender
-
Fields inherited from class org.apache.syncope.core.provisioning.java.job.notification.AbstractNotificationJobDelegate
auditManager, interrupt, interrupted, LOG, notificationManager, publisher, taskDAO, taskUtilsFactory
-
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
Methods inherited from class org.apache.syncope.core.provisioning.java.job.notification.AbstractNotificationJobDelegate
execute, executeSingle, handleRetries, hasToBeRegistered, interrupt, isInterrupted, setStatus
-
-
-
-
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 classAbstractNotificationJobDelegate
- Throws:
Exception
-
-