Class LoggingJobListener

java.lang.Object
org.quartz.listeners.JobListenerSupport
ch.tocco.nice2.tasks.impl.quartz.LoggingJobListener
All Implemented Interfaces:
org.quartz.JobListener

@Component @Order(10000) public class LoggingJobListener extends org.quartz.listeners.JobListenerSupport
  • Constructor Details

    • LoggingJobListener

      public LoggingJobListener(org.slf4j.Logger logger)
  • Method Details

    • getName

      public String getName()
    • jobToBeExecuted

      public void jobToBeExecuted(org.quartz.JobExecutionContext context)
      Specified by:
      jobToBeExecuted in interface org.quartz.JobListener
      Overrides:
      jobToBeExecuted in class org.quartz.listeners.JobListenerSupport
    • jobWasExecuted

      public void jobWasExecuted(org.quartz.JobExecutionContext context, org.quartz.JobExecutionException jobException)
      Specified by:
      jobWasExecuted in interface org.quartz.JobListener
      Overrides:
      jobWasExecuted in class org.quartz.listeners.JobListenerSupport