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 Details

    • DefaultSolrQueryContextFactory

      public DefaultSolrQueryContextFactory()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet()
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
    • loadQueryContextProviders

      protected void loadQueryContextProviders()
    • getQueryContextProviders

      protected List<SolrQueryContextProvider> getQueryContextProviders()
    • getQueryContexts

      public List<String> getQueryContexts()
      Description copied from interface: SolrQueryContextFactory
      Returns the query contexts.
      Specified by:
      getQueryContexts in interface SolrQueryContextFactory
      Returns:
      the query contexts
    • getApplicationContext

      protected org.springframework.context.ApplicationContext getApplicationContext()
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware