@Scriptable
@SpringBeanAccessor
public class SearchServiceAccessor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BEAN_NAME |
Modifier and Type | Method and Description |
---|---|
static de.uplanet.lucy.server.search.ISearchServiceBean |
getInstance()
Get the
searchService bean. |
static boolean |
isAvailable()
Check if the
searchService bean is defined. |
public static final java.lang.String BEAN_NAME
public static boolean isAvailable()
searchService
bean is defined.true
if the bean is defined, or false
otherwise.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.public static de.uplanet.lucy.server.search.ISearchServiceBean getInstance() throws org.springframework.beans.BeansException
searchService
bean.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.