Class NotificationJob
- java.lang.Object
-
- org.apache.syncope.core.provisioning.java.job.AbstractInterruptableJob
-
- org.apache.syncope.core.provisioning.java.job.notification.NotificationJob
-
- All Implemented Interfaces:
org.quartz.InterruptableJob
,org.quartz.Job
public class NotificationJob extends AbstractInterruptableJob
Periodically checks for notification to send.- See Also:
NotificationTask
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NotificationJob.Status
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_CRON_EXP
protected org.apache.syncope.core.provisioning.api.notification.NotificationJobDelegate
delegate
protected org.apache.syncope.core.persistence.api.DomainHolder
domainHolder
protected static org.slf4j.Logger
LOG
protected SecurityProperties
securityProperties
-
Constructor Summary
Constructors Constructor Description NotificationJob(SecurityProperties securityProperties, org.apache.syncope.core.persistence.api.DomainHolder domainHolder, org.apache.syncope.core.provisioning.api.notification.NotificationJobDelegate delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(org.quartz.JobExecutionContext context)
org.apache.syncope.core.provisioning.api.job.JobDelegate
getDelegate()
-
Methods inherited from class org.apache.syncope.core.provisioning.java.job.AbstractInterruptableJob
interrupt
-
-
-
-
Field Detail
-
LOG
protected static final org.slf4j.Logger LOG
-
DEFAULT_CRON_EXP
public static final String DEFAULT_CRON_EXP
- See Also:
- Constant Field Values
-
securityProperties
protected final SecurityProperties securityProperties
-
domainHolder
protected final org.apache.syncope.core.persistence.api.DomainHolder domainHolder
-
delegate
protected final org.apache.syncope.core.provisioning.api.notification.NotificationJobDelegate delegate
-
-
Constructor Detail
-
NotificationJob
public NotificationJob(SecurityProperties securityProperties, org.apache.syncope.core.persistence.api.DomainHolder domainHolder, org.apache.syncope.core.provisioning.api.notification.NotificationJobDelegate delegate)
-
-
Method Detail
-
getDelegate
public org.apache.syncope.core.provisioning.api.job.JobDelegate getDelegate()
- Overrides:
getDelegate
in classAbstractInterruptableJob
-
execute
public void execute(org.quartz.JobExecutionContext context) throws org.quartz.JobExecutionException
- Throws:
org.quartz.JobExecutionException
-
-