Class DefaultSnFieldFactory
java.lang.Object
de.hybris.platform.searchservices.admin.service.impl.DefaultSnFieldFactory
- All Implemented Interfaces:
SnFieldFactory,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware
public class DefaultSnFieldFactory
extends Object
implements SnFieldFactory, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
Default implementation of
SnFieldFactory.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected org.springframework.context.ApplicationContextgetDefaultFields(SnIndexType indexType) Returns default fields to be added to an index type.protected voidvoidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
Constructor Details
-
DefaultSnFieldFactory
public DefaultSnFieldFactory()
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
loadFieldProviders
protected void loadFieldProviders() -
getDefaultFields
Description copied from interface:SnFieldFactoryReturns default fields to be added to an index type.- Specified by:
getDefaultFieldsin interfaceSnFieldFactory- Parameters:
indexType- - the index type- Returns:
- the default fields
-
getApplicationContext
protected org.springframework.context.ApplicationContext getApplicationContext() -
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware
-