Klasse PollingService

java.lang.Object
de.uplanet.lucy.server.polling.PollingService

@Scriptable @SpringBeanAccessor public final class PollingService extends Object
  • Felddetails

  • Methodendetails

    • isAvailable

      public static boolean isAvailable()
      Check if the pollingService bean is defined.
      Gibt zurück:
      true if the bean is defined, or false otherwise.
      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 the pollingService bean is defined.
      Parameter:
      p_appCtx - The Spring application context.
      Gibt zurück:
      true if the bean is defined, or false otherwise.
      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

      public static IPollingService getInstance() throws org.springframework.beans.BeansException
      Get the pollingService bean.
      Gibt zurück:
      The bean.
      Löst aus:
      org.springframework.beans.factory.NoSuchBeanDefinitionException - If the bean pollingService 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 IPollingService getInstance(org.springframework.context.ApplicationContext p_appCtx) throws org.springframework.beans.BeansException
      Get the pollingService bean.
      Parameter:
      p_appCtx - The Spring application context.
      Gibt zurück:
      The bean.
      Löst aus:
      org.springframework.beans.factory.NoSuchBeanDefinitionException - If the bean pollingService 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.