Class QuartzSchedulerService
- java.lang.Object
-
- de.uplanet.lucy.server.scheduler.quartz.QuartzSchedulerService
-
@Scriptable @SpringBeanAccessor public final class QuartzSchedulerService extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static de.uplanet.lucy.server.scheduler.quartz.IQuartzSchedulerBean
getInstance()
Get thequartzScheduler
bean.static de.uplanet.lucy.server.scheduler.quartz.IQuartzSchedulerBean
getInstance(org.springframework.context.ApplicationContext p_appCtx)
Get thequartzScheduler
bean.static boolean
isAvailable(org.springframework.context.ApplicationContext p_appCtx)
Check if thequartzScheduler
bean is defined.
-
-
-
Field Detail
-
BEAN_NAME
public static final String BEAN_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
isAvailable
public static boolean isAvailable(org.springframework.context.ApplicationContext p_appCtx)
Check if thequartzScheduler
bean is defined.- Parameters:
p_appCtx
- The Spring application context.- Returns:
true
if the bean is defined, orfalse
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 thequartzScheduler
bean.- Returns:
- The bean.
- Throws:
org.springframework.beans.factory.NoSuchBeanDefinitionException
- If the beanquartzScheduler
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 thequartzScheduler
bean.- Parameters:
p_appCtx
- The Spring application context.- Returns:
- The bean.
- Throws:
org.springframework.beans.factory.NoSuchBeanDefinitionException
- If the beanquartzScheduler
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.
-
-