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 IndexerStrategy
createIndexerStrategy(FacetSearchConfig facetSearchConfig)
Creates a new indexer strategy.org.springframework.context.ApplicationContext
getApplicationContext()
java.lang.String
getDistributedIndexerStrategyBeanId()
java.lang.String
getIndexerStrategyBeanId()
void
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
void
setDistributedIndexerStrategyBeanId(java.lang.String distributedIndexerStrategyBeanId)
void
setIndexerStrategyBeanId(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:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
-
createIndexerStrategy
public IndexerStrategy createIndexerStrategy(FacetSearchConfig facetSearchConfig) throws IndexerException
Description copied from interface:IndexerStrategyFactory
Creates a new indexer strategy.- Specified by:
createIndexerStrategy
in interfaceIndexerStrategyFactory
- Parameters:
facetSearchConfig
- - the facet search configuration- Returns:
- the new indexer strategy
- Throws:
IndexerException
- if an error occurs during the strategy creation
-
-