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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateIndexerStrategy(FacetSearchConfig facetSearchConfig) Creates a new indexer strategy.org.springframework.context.ApplicationContextvoidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) voidsetDistributedIndexerStrategyBeanId(String distributedIndexerStrategyBeanId) voidsetIndexerStrategyBeanId(String indexerStrategyBeanId)
-
Constructor Details
-
DefaultIndexerStrategyFactory
public DefaultIndexerStrategyFactory()
-
-
Method Details
-
getIndexerStrategyBeanId
-
setIndexerStrategyBeanId
-
getDistributedIndexerStrategyBeanId
-
setDistributedIndexerStrategyBeanId
-
getApplicationContext
public org.springframework.context.ApplicationContext getApplicationContext() -
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware
-
createIndexerStrategy
public IndexerStrategy createIndexerStrategy(FacetSearchConfig facetSearchConfig) throws IndexerException Description copied from interface:IndexerStrategyFactoryCreates a new indexer strategy.- Specified by:
createIndexerStrategyin interfaceIndexerStrategyFactory- Parameters:
facetSearchConfig- - the facet search configuration- Returns:
- the new indexer strategy
- Throws:
IndexerException- if an error occurs during the strategy creation
-