Class DefaultSnFieldTypeRegistry

java.lang.Object
de.hybris.platform.searchservices.admin.service.impl.DefaultSnFieldTypeRegistry
All Implemented Interfaces:
SnFieldTypeRegistry, org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

public class DefaultSnFieldTypeRegistry extends Object implements SnFieldTypeRegistry, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
Default implementation of SnFieldTypeRegistry.
  • Constructor Details

    • DefaultSnFieldTypeRegistry

      public DefaultSnFieldTypeRegistry()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • getFieldTypeInfo

      public SnFieldTypeInfo getFieldTypeInfo(SnFieldType fieldType)
      Description copied from interface: SnFieldTypeRegistry
      Returns field type information.
      Specified by:
      getFieldTypeInfo in interface SnFieldTypeRegistry
      Parameters:
      fieldType - - the field type
      Returns:
      field type information
    • loadFielTypeMapping

      protected Map<SnFieldType,SnFieldTypeInfo> loadFielTypeMapping()
    • getApplicationContext

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

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

      protected Map<SnFieldType,SnFieldTypeInfo> getFieldTypeMapping()