Class DefaultSolrQueryContextFactory
java.lang.Object
de.hybris.platform.solrfacetsearch.common.impl.DefaultSolrQueryContextFactory
- All Implemented Interfaces:
SolrQueryContextFactory,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware
public class DefaultSolrQueryContextFactory
extends Object
implements SolrQueryContextFactory, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
Default implementation of
SolrQueryContextFactory.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected org.springframework.context.ApplicationContextprotected List<SolrQueryContextProvider>Returns the query contexts.protected voidvoidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
Constructor Details
-
DefaultSolrQueryContextFactory
public DefaultSolrQueryContextFactory()
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
loadQueryContextProviders
protected void loadQueryContextProviders() -
getQueryContextProviders
-
getQueryContexts
Description copied from interface:SolrQueryContextFactoryReturns the query contexts.- Specified by:
getQueryContextsin interfaceSolrQueryContextFactory- Returns:
- the query contexts
-
getApplicationContext
protected org.springframework.context.ApplicationContext getApplicationContext() -
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware
-