Package de.uplanet.lucy.server.polling
Klasse PollingService
java.lang.Object
de.uplanet.lucy.server.polling.PollingService
-
Feldübersicht
Felder -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic IPollingServiceGet thepollingServicebean.static IPollingServicegetInstance(org.springframework.context.ApplicationContext p_appCtx) Get thepollingServicebean.static booleanCheck if thepollingServicebean is defined.static booleanisAvailable(org.springframework.context.ApplicationContext p_appCtx) Check if thepollingServicebean is defined.
-
Felddetails
-
BEAN_NAME
- Siehe auch:
-
-
Methodendetails
-
isAvailable
public static boolean isAvailable()Check if thepollingServicebean is defined.- Gibt zurück:
trueif the bean is defined, orfalseotherwise.- Löst aus:
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.
-
isAvailable
public static boolean isAvailable(org.springframework.context.ApplicationContext p_appCtx) Check if thepollingServicebean is defined.- Parameter:
p_appCtx- The Spring application context.- Gibt zurück:
trueif the bean is defined, orfalseotherwise.- Löst aus:
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
Get thepollingServicebean.- Gibt zurück:
- The bean.
- Löst aus:
org.springframework.beans.factory.NoSuchBeanDefinitionException- If the beanpollingServiceis 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 IPollingService getInstance(org.springframework.context.ApplicationContext p_appCtx) throws org.springframework.beans.BeansException Get thepollingServicebean.- Parameter:
p_appCtx- The Spring application context.- Gibt zurück:
- The bean.
- Löst aus:
org.springframework.beans.factory.NoSuchBeanDefinitionException- If the beanpollingServiceis 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.
-