Class SchedulerJobListener

java.lang.Object
org.apache.fineract.infrastructure.jobs.service.SchedulerJobListener
All Implemented Interfaces:
org.quartz.JobListener

@Component public class SchedulerJobListener extends Object implements org.quartz.JobListener
Global job Listener class to set Tenant details to ThreadLocalContextUtil for batch Job and stores the batch job status to database after the execution
  • Constructor Details

    • SchedulerJobListener

      public SchedulerJobListener()
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface org.quartz.JobListener
    • jobToBeExecuted

      public void jobToBeExecuted(org.quartz.JobExecutionContext context)
      Specified by:
      jobToBeExecuted in interface org.quartz.JobListener
    • jobExecutionVetoed

      public void jobExecutionVetoed(org.quartz.JobExecutionContext context)
      Specified by:
      jobExecutionVetoed in interface org.quartz.JobListener
    • jobWasExecuted

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