org.itracker.web.scheduler.tasks
Class MailNotification

java.lang.Object
  extended by org.itracker.web.scheduler.tasks.BaseJob
      extended by 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)

Constructor Summary
MailNotification()
           
 
Method Summary
 NotificationService getNotificationService()
           
 void performTask(String[] args)
           
 void process()
          process() checks for new messages and calls processMsg() for every new message
 void setNotificationService(NotificationService notificationService)
           
 
Methods inherited from class org.itracker.web.scheduler.tasks.BaseJob
execute, getServices
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailNotification

public MailNotification()
Method Detail

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.