Package fr.gouv.vitam.scheduler.server

# Class SchedulerListener

java.lang.Object
fr.gouv.vitam.scheduler.server.SchedulerListener

All Implemented Interfaces:
  `jakarta.servlet.ServletContextListener`, `EventListener`

public class SchedulerListener extends Object implements jakarta.servlet.ServletContextListener

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `contextDestroyed(jakarta.servlet.ServletContextEvent sce)`
  `void`
  `contextInitialized(jakarta.servlet.ServletContextEvent sce)`
  `static SchedulerListener`
  `getInstance()`
  `org.quartz.Scheduler`
  `getScheduler()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### getInstance

    public static SchedulerListener getInstance() throws org.quartz.SchedulerException
    Throws:
      `org.quartz.SchedulerException`

  - ### getScheduler

    public org.quartz.Scheduler getScheduler()

  - ### contextInitialized

    public void contextInitialized(jakarta.servlet.ServletContextEvent sce)
    Specified by:
      `contextInitialized` in interface `jakarta.servlet.ServletContextListener`

  - ### contextDestroyed

    public void contextDestroyed(jakarta.servlet.ServletContextEvent sce)
    Specified by:
      `contextDestroyed` in interface `jakarta.servlet.ServletContextListener`