org.itracker.web.scheduler.tasks
Class MailNotification
java.lang.Object
org.itracker.web.scheduler.tasks.BaseJob
org.itracker.web.scheduler.tasks.MailNotification
- All Implemented Interfaces:
- org.quartz.Job, org.quartz.StatefulJob
public class MailNotification
- extends BaseJob
- Author:
- rui (rui.silva@emation.pt)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MailNotification
public MailNotification()
setNotificationService
public void setNotificationService(NotificationService notificationService)
getNotificationService
public NotificationService getNotificationService()
performTask
public void performTask(String[] args)
process
public void process()
throws javax.mail.MessagingException,
NotificationException
- process() checks for new messages and calls processMsg() for every new
message
- Throws:
javax.mail.MessagingException
NotificationException
Copyright © 2002-2012 itracker. All Rights Reserved.