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:
JobDelegate
,NotificationJobDelegate
public class MailNotificationJobDelegate extends AbstractNotificationJobDelegate
-
-
Field Summary
Fields Modifier and Type Field Description protected JavaMailSender
mailSender
-
Fields inherited from class org.apache.syncope.core.provisioning.java.job.notification.AbstractNotificationJobDelegate
auditManager, interrupt, interrupted, LOG, notificationManager, publisher, taskDAO, taskUtilsFactory
-
Fields inherited from interface org.apache.syncope.core.provisioning.api.job.JobDelegate
OPERATION_ID
-
-
Constructor Summary
Constructors Constructor Description MailNotificationJobDelegate(TaskDAO taskDAO, TaskUtilsFactory taskUtilsFactory, AuditManager auditManager, NotificationManager notificationManager, ApplicationEventPublisher publisher, JavaMailSender mailSender)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
notify(String to, NotificationTask task, TaskExec<NotificationTask> execution)
-
Methods inherited from class org.apache.syncope.core.provisioning.java.job.notification.AbstractNotificationJobDelegate
execute, executeSingle, handleRetries, hasToBeRegistered, interrupt, isInterrupted, setStatus
-
-
-
-
Field Detail
-
mailSender
protected final JavaMailSender mailSender
-
-
Constructor Detail
-
MailNotificationJobDelegate
public MailNotificationJobDelegate(TaskDAO taskDAO, TaskUtilsFactory taskUtilsFactory, AuditManager auditManager, NotificationManager notificationManager, ApplicationEventPublisher publisher, JavaMailSender mailSender)
-
-
Method Detail
-
notify
protected void notify(String to, NotificationTask task, TaskExec<NotificationTask> execution) throws Exception
- Specified by:
notify
in classAbstractNotificationJobDelegate
- Throws:
Exception
-
-