Class DefaultIndexerStrategyFactory

java.lang.Object
de.hybris.platform.solrfacetsearch.indexer.strategies.impl.DefaultIndexerStrategyFactory
All Implemented Interfaces:
IndexerStrategyFactory, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class DefaultIndexerStrategyFactory extends Object implements IndexerStrategyFactory, org.springframework.context.ApplicationContextAware
Default implementation of IndexerStrategyFactory.
  • Constructor Details

    • DefaultIndexerStrategyFactory

      public DefaultIndexerStrategyFactory()
  • Method Details

    • getIndexerStrategyBeanId

      public String getIndexerStrategyBeanId()
    • setIndexerStrategyBeanId

      public void setIndexerStrategyBeanId(String indexerStrategyBeanId)
    • getDistributedIndexerStrategyBeanId

      public String getDistributedIndexerStrategyBeanId()
    • setDistributedIndexerStrategyBeanId

      public void setDistributedIndexerStrategyBeanId(String distributedIndexerStrategyBeanId)
    • getApplicationContext

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

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

      public IndexerStrategy createIndexerStrategy(FacetSearchConfig facetSearchConfig) throws IndexerException
      Description copied from interface: IndexerStrategyFactory
      Creates a new indexer strategy.
      Specified by:
      createIndexerStrategy in interface IndexerStrategyFactory
      Parameters:
      facetSearchConfig - - the facet search configuration
      Returns:
      the new indexer strategy
      Throws:
      IndexerException - if an error occurs during the strategy creation