Class DefaultSnIndexerItemSourceFactory
- java.lang.Object
-
- de.hybris.platform.searchservices.indexer.service.impl.DefaultSnIndexerItemSourceFactory
-
- All Implemented Interfaces:
SnIndexerItemSourceFactory,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware
public class DefaultSnIndexerItemSourceFactory extends java.lang.Object implements SnIndexerItemSourceFactory, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
Default implementation forSnIndexerItemSourceFactory.
-
-
Constructor Summary
Constructors Constructor Description DefaultSnIndexerItemSourceFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()SnIndexerItemSourcecreateItemSource(AbstractSnIndexerItemSourceModel itemSourceModel, java.util.Map<java.lang.String,java.lang.Object> parameters)Creates a new instance ofSnIndexerItemSource.org.springframework.context.ApplicationContextgetApplicationContext()protected voidinitializeMappings()voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
-
-
Method Detail
-
getApplicationContext
public org.springframework.context.ApplicationContext getApplicationContext()
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
- Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware
-
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
initializeMappings
protected void initializeMappings()
-
createItemSource
public SnIndexerItemSource createItemSource(AbstractSnIndexerItemSourceModel itemSourceModel, java.util.Map<java.lang.String,java.lang.Object> parameters) throws SnIndexerException
Description copied from interface:SnIndexerItemSourceFactoryCreates a new instance ofSnIndexerItemSource.- Specified by:
createItemSourcein interfaceSnIndexerItemSourceFactory- Parameters:
itemSourceModel- - the item source modelparameters- - the parameters- Returns:
- the new instance of
SnIndexerItemSource - Throws:
SnIndexerException- if an error occurs
-
-