org.tigris.scarab.notification
Class NotificationManagerJob
java.lang.Object
org.tigris.scarab.notification.NotificationManagerJob
- All Implemented Interfaces:
- org.quartz.Job
- public class NotificationManagerJob
- extends java.lang.Object
- implements org.quartz.Job
Quartz's job implementation that will just call the NotificationManager
to send pending notifications.
In case the pending notification processal takes too much time and the
scheduler fires it again, this class will allow just ONE execution to be
queued, discarding other requests that arrive after it.
- Author:
- jorgeuriarte
|
Field Summary |
static org.apache.log4j.Logger |
log
|
|
Method Summary |
void |
execute(org.quartz.JobExecutionContext jobContext)
Executes the process that send the pending notifications. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
public static org.apache.log4j.Logger log
NotificationManagerJob
public NotificationManagerJob()
execute
public void execute(org.quartz.JobExecutionContext jobContext)
throws org.quartz.JobExecutionException
- Executes the process that send the pending notifications.
- Specified by:
execute in interface org.quartz.Job
- Throws:
org.quartz.JobExecutionException
Copyright © 2000-2004 Tigris.org. All Rights Reserved.