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 java.lang.Object implements IndexerWorkerFactory, org.springframework.context.ApplicationContextAware
Default implementation ofIndexerWorkerFactory.
-
-
Constructor Summary
Constructors Constructor Description DefaultIndexerWorkerFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IndexerWorkercreateIndexerWorker(FacetSearchConfig facetSearchConfig)Creates a new indexer worker.org.springframework.context.ApplicationContextgetApplicationContext()java.lang.StringgetWorkerBeanId()voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)voidsetWorkerBeanId(java.lang.String workerBeanId)
-
-
-
Method Detail
-
getWorkerBeanId
public java.lang.String getWorkerBeanId()
-
setWorkerBeanId
public void setWorkerBeanId(java.lang.String workerBeanId)
-
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
-
-