Class QuartzSchedulerService

java.lang.Object
de.uplanet.lucy.server.scheduler.quartz.QuartzSchedulerService

@Scriptable @SpringBeanAccessor public final class QuartzSchedulerService extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static de.uplanet.lucy.server.scheduler.quartz.IQuartzSchedulerBean
    Get the quartzScheduler bean.
    static de.uplanet.lucy.server.scheduler.quartz.IQuartzSchedulerBean
    getInstance(org.springframework.context.ApplicationContext p_appCtx)
    Get the quartzScheduler bean.
    static boolean
    isAvailable(org.springframework.context.ApplicationContext p_appCtx)
    Check if the quartzScheduler bean is defined.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Method Details

    • isAvailable

      public static boolean isAvailable(org.springframework.context.ApplicationContext p_appCtx)
      Check if the quartzScheduler bean is defined.
      Parameters:
      p_appCtx - The Spring application context.
      Returns:
      true if the bean is defined, or false otherwise.
      Throws:
      org.springframework.beans.factory.BeanNotOfRequiredTypeException - If the bean is not of the required type.
      org.springframework.beans.BeansException - If the bean could not be created.
    • getInstance

      public static de.uplanet.lucy.server.scheduler.quartz.IQuartzSchedulerBean getInstance() throws org.springframework.beans.BeansException
      Get the quartzScheduler bean.
      Returns:
      The bean.
      Throws:
      org.springframework.beans.factory.NoSuchBeanDefinitionException - If the bean quartzScheduler is not defined.
      org.springframework.beans.factory.BeanNotOfRequiredTypeException - If the bean is not of the required type.
      org.springframework.beans.BeansException - If the bean could not be created.
    • getInstance

      public static de.uplanet.lucy.server.scheduler.quartz.IQuartzSchedulerBean getInstance(org.springframework.context.ApplicationContext p_appCtx) throws org.springframework.beans.BeansException
      Get the quartzScheduler bean.
      Parameters:
      p_appCtx - The Spring application context.
      Returns:
      The bean.
      Throws:
      org.springframework.beans.factory.NoSuchBeanDefinitionException - If the bean quartzScheduler is not defined.
      org.springframework.beans.factory.BeanNotOfRequiredTypeException - If the bean is not of the required type.
      org.springframework.beans.BeansException - If the bean could not be created.