Package ch.tocco.nice2.tasks.impl.quartz
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
void
jobToBeExecuted
(org.quartz.JobExecutionContext context) void
jobWasExecuted
(org.quartz.JobExecutionContext context, org.quartz.JobExecutionException jobException) Methods inherited from class org.quartz.listeners.JobListenerSupport
getLog, jobExecutionVetoed
-
Constructor Details
-
LoggingJobListener
public LoggingJobListener(org.slf4j.Logger logger)
-
-
Method Details
-
getName
-
jobToBeExecuted
public void jobToBeExecuted(org.quartz.JobExecutionContext context) - Specified by:
jobToBeExecuted
in interfaceorg.quartz.JobListener
- Overrides:
jobToBeExecuted
in classorg.quartz.listeners.JobListenerSupport
-
jobWasExecuted
public void jobWasExecuted(org.quartz.JobExecutionContext context, org.quartz.JobExecutionException jobException) - Specified by:
jobWasExecuted
in interfaceorg.quartz.JobListener
- Overrides:
jobWasExecuted
in classorg.quartz.listeners.JobListenerSupport
-