Class QuartzSchedulerService
java.lang.Object
de.uplanet.lucy.server.scheduler.quartz.QuartzSchedulerService
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic de.uplanet.lucy.server.scheduler.quartz.IQuartzSchedulerBeanGet thequartzSchedulerbean.static de.uplanet.lucy.server.scheduler.quartz.IQuartzSchedulerBeangetInstance(org.springframework.context.ApplicationContext p_appCtx) Get thequartzSchedulerbean.static booleanisAvailable(org.springframework.context.ApplicationContext p_appCtx) Check if thequartzSchedulerbean is defined.
-
Field Details
-
BEAN_NAME
- See Also:
-
-
Method Details
-
isAvailable
public static boolean isAvailable(org.springframework.context.ApplicationContext p_appCtx) Check if thequartzSchedulerbean is defined.- Parameters:
p_appCtx- The Spring application context.- Returns:
trueif the bean is defined, orfalseotherwise.- 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.BeansExceptionGet thequartzSchedulerbean.- Returns:
- The bean.
- Throws:
org.springframework.beans.factory.NoSuchBeanDefinitionException- If the beanquartzScheduleris 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 thequartzSchedulerbean.- Parameters:
p_appCtx- The Spring application context.- Returns:
- The bean.
- Throws:
org.springframework.beans.factory.NoSuchBeanDefinitionException- If the beanquartzScheduleris 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.
-