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.JobListener; 21 import org.quartz.JobExecutionContext; 22 import org.quartz.JobExecutionException; 23 24 41 public abstract class JobListenerSupport implements JobListener { 42 private final Log log = LogFactory.getLog(getClass()); 43 44 48 protected Log getLog() { 49 return log; 50 } 51 52 public void jobToBeExecuted(JobExecutionContext context) { 53 } 54 55 public void jobExecutionVetoed(JobExecutionContext context) { 56 } 57 58 public void jobWasExecuted(JobExecutionContext context, JobExecutionException jobException) { 59 } 60 } 61 | Popular Tags |