1 16 package org.quartz.listeners; 17 18 import org.apache.commons.logging.Log; 19 import org.apache.commons.logging.LogFactory; 20 import org.quartz.SchedulerListener; 21 import org.quartz.Trigger; 22 import org.quartz.SchedulerException; 23 24 36 public abstract class SchedulerListenerSupport implements SchedulerListener { 37 private final Log log = LogFactory.getLog(getClass()); 38 39 43 protected Log getLog() { 44 return log; 45 } 46 47 public void jobScheduled(Trigger trigger) { 48 } 49 50 public void jobUnscheduled(String triggerName, String triggerGroup) { 51 } 52 53 public void triggerFinalized(Trigger trigger) { 54 } 55 56 public void triggersPaused(String triggerName, String triggerGroup) { 57 } 58 59 public void triggersResumed(String triggerName, String triggerGroup) { 60 } 61 62 public void jobsPaused(String jobName, String jobGroup) { 63 } 64 65 public void jobsResumed(String jobName, String jobGroup) { 66 } 67 68 public void schedulerError(String msg, SchedulerException cause) { 69 } 70 71 public void schedulerShutdown() { 72 } 73 } 74 | Popular Tags |