org.exoplatform.ks.common.notify
Class NotifyJob

java.lang.Object
  extended by java.lang.Thread
      extended by org.exoplatform.ks.common.notify.NotifyJob
All Implemented Interfaces:
java.lang.Runnable, org.quartz.Job

public class NotifyJob
extends java.lang.Thread
implements org.quartz.Job, java.lang.Runnable


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
NotifyJob()
           
 
Method Summary
 void destroy()
           
 void execute(org.quartz.JobExecutionContext context)
           
 void setMessageInfo(NotifyInfo notifyInfo)
           
 void start()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.lang.Runnable
run
 

Constructor Detail

NotifyJob

public NotifyJob()
          throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

start

public void start()
Overrides:
start in class java.lang.Thread

destroy

public void destroy()
Overrides:
destroy in class java.lang.Thread

setMessageInfo

public void setMessageInfo(NotifyInfo notifyInfo)

execute

public void execute(org.quartz.JobExecutionContext context)
             throws org.quartz.JobExecutionException
Specified by:
execute in interface org.quartz.Job
Throws:
org.quartz.JobExecutionException


Copyright © 2010 eXo Platform SAS. All Rights Reserved.