Class DefaultFacetSearchConfigMapper
- java.lang.Object
-
- ma.glasnost.orika.impl.ConfigurableMapper
-
- de.hybris.platform.solrfacetsearch.config.mapping.DefaultFacetSearchConfigMapper
-
- All Implemented Interfaces:
ma.glasnost.orika.MapperFacade,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class DefaultFacetSearchConfigMapper extends ma.glasnost.orika.impl.ConfigurableMapper implements org.springframework.context.ApplicationContextAwareImplementation ofConfigurableMapperused for cloning FacetSearchConfig.
It automatically discovers and registers managed beans of typeMapper,ConverterorFilterannotated withFacetSearchConfigMapping.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.springframework.context.ApplicationContextapplicationContextprotected ma.glasnost.orika.MapperFactorymapperFactory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddAllSpringBeans()Registers all managed beans of typeMapper,ConverterorFilterand annotated withFacetSearchConfigMapping.voidaddConverter(ma.glasnost.orika.Converter<?,?> converter)Registers aConverter.voidaddFilter(ma.glasnost.orika.Filter<?,?> filter)Registers aFilter.voidaddMapper(ma.glasnost.orika.Mapper<?,?> mapper)Registers aMapper.protected voidconfigure(ma.glasnost.orika.MapperFactory mapperFactory)voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)-
Methods inherited from class ma.glasnost.orika.impl.ConfigurableMapper
configureFactoryBuilder, convert, convert, dedicatedMapperFor, dedicatedMapperFor, dedicatedMapperFor, dedicatedMapperFor, factoryModified, init, map, map, map, map, map, map, map, map, mapAsArray, mapAsArray, mapAsArray, mapAsArray, mapAsArray, mapAsArray, mapAsArray, mapAsArray, mapAsArray, mapAsArray, mapAsCollection, mapAsCollection, mapAsCollection, mapAsCollection, mapAsCollection, mapAsCollection, mapAsCollection, mapAsCollection, mapAsList, mapAsList, mapAsList, mapAsList, mapAsList, mapAsList, mapAsList, mapAsList, mapAsList, mapAsList, mapAsMap, mapAsMap, mapAsMap, mapAsMap, mapAsMap, mapAsMap, mapAsSet, mapAsSet, mapAsSet, mapAsSet, mapAsSet, mapAsSet, mapAsSet, mapAsSet, mapAsSet, mapAsSet, newObject, resolveMappingStrategy
-
-
-
-
Method Detail
-
configure
protected void configure(ma.glasnost.orika.MapperFactory mapperFactory)
- Overrides:
configurein classma.glasnost.orika.impl.ConfigurableMapper
-
addAllSpringBeans
protected void addAllSpringBeans()
Registers all managed beans of typeMapper,ConverterorFilterand annotated withFacetSearchConfigMapping.
-
addConverter
public void addConverter(ma.glasnost.orika.Converter<?,?> converter)
Registers aConverter.- Parameters:
converter- The converter.
-
addMapper
public void addMapper(ma.glasnost.orika.Mapper<?,?> mapper)
Registers aMapper.- Parameters:
mapper- The mapper.
-
addFilter
public void addFilter(ma.glasnost.orika.Filter<?,?> filter)
Registers aFilter.- Parameters:
filter- The filter.
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
- Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware
-
-