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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateIndexerWorker(FacetSearchConfig facetSearchConfig) Creates a new indexer worker.org.springframework.context.ApplicationContextvoidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) voidsetWorkerBeanId(String workerBeanId)
-
Constructor Details
-
DefaultIndexerWorkerFactory
public DefaultIndexerWorkerFactory()
-
-
Method Details
-
getWorkerBeanId
-
setWorkerBeanId
-
getApplicationContext
public org.springframework.context.ApplicationContext getApplicationContext() -
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware
-
createIndexerWorker
public IndexerWorker createIndexerWorker(FacetSearchConfig facetSearchConfig) throws IndexerException Description copied from interface:IndexerWorkerFactoryCreates a new indexer worker.- Specified by:
createIndexerWorkerin interfaceIndexerWorkerFactory- Parameters:
facetSearchConfig- - the facet search configuration- Returns:
- the new worker
- Throws:
IndexerException- if an error occurs during the worker creation
-