public class CronListener extends Object implements javax.servlet.ServletContextListener
| Modifier and Type | Field and Description |
|---|---|
static String |
AUTHKEY |
static String |
IMAGEPATH |
static String |
KEY_AUTHKEY |
static String |
KEY_IMAGEPATH |
static String |
KEY_PLAYMAPPING_BASEURL |
static String |
KEY_WORDPRESS_BASEURL |
static String |
PLAYMAPPING_BASEURL |
static String |
QUARTZ_GROUP_NAME |
static String |
QUARTZ_JOB_DATA_MAP_ENTITY_KEY |
static String |
QUARTZ_JOB_NAME |
static String |
QUARTZ_TRIGGER_NAME |
static String |
WORDPRESS_BASEURL |
| Constructor and Description |
|---|
CronListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent sce) |
void |
contextInitialized(javax.servlet.ServletContextEvent sce) |
static Date |
getNextFireTime(Project job) |
static void |
rescheduleJob(Project jobEntity) |
static void |
runNow(Project job) |
static void |
scheduleProject(Project jobEntity) |
static void |
unscheduleJob(Project job) |
public static final String QUARTZ_GROUP_NAME
public static final String QUARTZ_JOB_NAME
public static final String QUARTZ_TRIGGER_NAME
public static final String QUARTZ_JOB_DATA_MAP_ENTITY_KEY
public static final String KEY_WORDPRESS_BASEURL
public static final String KEY_AUTHKEY
public static final String KEY_IMAGEPATH
public static final String KEY_PLAYMAPPING_BASEURL
public static String IMAGEPATH
public static String WORDPRESS_BASEURL
public static String PLAYMAPPING_BASEURL
public static String AUTHKEY
public void contextInitialized(javax.servlet.ServletContextEvent sce)
contextInitialized in interface javax.servlet.ServletContextListenerpublic static void runNow(Project job) throws org.quartz.SchedulerException
org.quartz.SchedulerExceptionpublic static void scheduleProject(Project jobEntity) throws org.quartz.SchedulerException
org.quartz.SchedulerExceptionpublic static void rescheduleJob(Project jobEntity) throws org.quartz.SchedulerException
org.quartz.SchedulerExceptionpublic static void unscheduleJob(Project job)
public void contextDestroyed(javax.servlet.ServletContextEvent sce)
contextDestroyed in interface javax.servlet.ServletContextListenerCopyright © 2019. All rights reserved.