Class DefaultSnQueryContextFactory

java.lang.Object
de.hybris.platform.searchservices.core.service.impl.DefaultSnQueryContextFactory
All Implemented Interfaces:
SnQueryContextFactory, org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

public class DefaultSnQueryContextFactory extends Object implements SnQueryContextFactory, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
Default implementation of SnQueryContextFactory.
  • Constructor Details

    • DefaultSnQueryContextFactory

      public DefaultSnQueryContextFactory()
  • Method Details

    • afterPropertiesSet

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

      protected void loadQueryContextProviders()
    • getQueryContextProviders

      protected List<SnQueryContextProvider> getQueryContextProviders()
    • getQueryContexts

      public List<String> getQueryContexts()
      Description copied from interface: SnQueryContextFactory
      Returns the query contexts.
      Specified by:
      getQueryContexts in interface SnQueryContextFactory
      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