Package de.uplanet.lucy.server.search
Class SearchServiceAccessor
java.lang.Object
de.uplanet.lucy.server.search.SearchServiceAccessor
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic de.uplanet.lucy.server.search.ISearchServiceBean
Get thesearchService
bean.static boolean
Check if thesearchService
bean is defined.
-
Field Details
-
BEAN_NAME
- See Also:
-
-
Method Details
-
isAvailable
public static boolean isAvailable()Check if thesearchService
bean is defined.- 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.search.ISearchServiceBean getInstance() throws org.springframework.beans.BeansExceptionGet thesearchService
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.
-