Class DefaultIndexerWorkerFactory

java.lang.Object
de.hybris.platform.solrfacetsearch.indexer.workers.impl.DefaultIndexerWorkerFactory
All Implemented Interfaces:
IndexerWorkerFactory, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

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

    • DefaultIndexerWorkerFactory

      public DefaultIndexerWorkerFactory()
  • Method Details

    • getWorkerBeanId

      public String getWorkerBeanId()
    • setWorkerBeanId

      public void setWorkerBeanId(String workerBeanId)
    • 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
    • createIndexerWorker

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