Class SearchServiceAccessor

java.lang.Object
de.uplanet.lucy.server.search.SearchServiceAccessor

@Scriptable @SpringBeanAccessor public class SearchServiceAccessor extends Object
  • Field Details

  • Method Details

    • isAvailable

      public static boolean isAvailable()
      Check if the searchService bean is defined.
      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.search.ISearchServiceBean getInstance() throws org.springframework.beans.BeansException
      Get the searchService 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.