Class DefaultIndexerBatchStrategyFactory
- java.lang.Object
-
- de.hybris.platform.solrfacetsearch.indexer.strategies.impl.DefaultIndexerBatchStrategyFactory
-
- All Implemented Interfaces:
IndexerBatchStrategyFactory,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class DefaultIndexerBatchStrategyFactory extends java.lang.Object implements IndexerBatchStrategyFactory, org.springframework.context.ApplicationContextAware
-
-
Constructor Summary
Constructors Constructor Description DefaultIndexerBatchStrategyFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IndexerBatchStrategycreateIndexerBatchStrategy(FacetSearchConfig facetSearchConfig)Create new IndexerBatchStrategy.org.springframework.context.ApplicationContextgetApplicationContext()java.lang.StringgetIndexerBatchStrategyBeanId()voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)voidsetIndexerBatchStrategyBeanId(java.lang.String indexerBatchStrategyBeanId)
-
-
-
Method Detail
-
createIndexerBatchStrategy
public IndexerBatchStrategy createIndexerBatchStrategy(FacetSearchConfig facetSearchConfig) throws IndexerException
Description copied from interface:IndexerBatchStrategyFactoryCreate new IndexerBatchStrategy.- Specified by:
createIndexerBatchStrategyin interfaceIndexerBatchStrategyFactory- Parameters:
facetSearchConfig- - the facet search configuration- Returns:
- the new IndexerBatchStrategy
- Throws:
IndexerException- if an error occurs during the strategy creation
-
getIndexerBatchStrategyBeanId
public java.lang.String getIndexerBatchStrategyBeanId()
-
setIndexerBatchStrategyBeanId
public void setIndexerBatchStrategyBeanId(java.lang.String indexerBatchStrategyBeanId)
-
getApplicationContext
public org.springframework.context.ApplicationContext getApplicationContext()
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
- Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware
-
-