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 java.lang.Object implements IndexerStrategyFactory, org.springframework.context.ApplicationContextAware
Default implementation ofIndexerStrategyFactory.
-
-
Constructor Summary
Constructors Constructor Description DefaultIndexerStrategyFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IndexerStrategycreateIndexerStrategy(FacetSearchConfig facetSearchConfig)Creates a new indexer strategy.org.springframework.context.ApplicationContextgetApplicationContext()java.lang.StringgetDistributedIndexerStrategyBeanId()java.lang.StringgetIndexerStrategyBeanId()voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)voidsetDistributedIndexerStrategyBeanId(java.lang.String distributedIndexerStrategyBeanId)voidsetIndexerStrategyBeanId(java.lang.String indexerStrategyBeanId)
-
-
-
Method Detail
-
getIndexerStrategyBeanId
public java.lang.String getIndexerStrategyBeanId()
-
setIndexerStrategyBeanId
public void setIndexerStrategyBeanId(java.lang.String indexerStrategyBeanId)
-
getDistributedIndexerStrategyBeanId
public java.lang.String getDistributedIndexerStrategyBeanId()
-
setDistributedIndexerStrategyBeanId
public void setDistributedIndexerStrategyBeanId(java.lang.String distributedIndexerStrategyBeanId)
-
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
-
-