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 Object implements SnIndexerItemSourceFactory, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
Default implementation for SnIndexerItemSourceFactory.
  • Constructor Details

    • DefaultSnIndexerItemSourceFactory

      public DefaultSnIndexerItemSourceFactory()
  • Method Details

    • getApplicationContext

      public org.springframework.context.ApplicationContext getApplicationContext()
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
    • afterPropertiesSet

      public void afterPropertiesSet()
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
    • initializeMappings

      protected void initializeMappings()
    • createItemSource

      public <T extends AbstractSnIndexerItemSourceModel, R extends SnIndexerItemSource> R createItemSource(T itemSourceModel, Map<String,Object> parameters) throws SnIndexerException
      Description copied from interface: SnIndexerItemSourceFactory
      Creates a new instance of SnIndexerItemSource.
      Specified by:
      createItemSource in interface SnIndexerItemSourceFactory
      Type Parameters:
      T - - the type of indexer item source model
      R - - the type of indexer item source data
      Parameters:
      itemSourceModel - - the item source model
      parameters - - the parameters
      Returns:
      the new instance of SnIndexerItemSource
      Throws:
      SnIndexerException - if an error occurs