Class DomainMapperAutoConfiguration.ModelMapperCacheConfig
java.lang.Object
com.broadleafcommerce.data.tracking.core.autoconfigure.DomainMapperAutoConfiguration.ModelMapperCacheConfig
- Enclosing class:
- DomainMapperAutoConfiguration
@Configuration
@Conditional(CacheConfigCondition.class)
@EnableConfigurationProperties(ModelMapperCacheProperties.class)
public static class DomainMapperAutoConfiguration.ModelMapperCacheConfig
extends Object
Configuration for ModelMapper caching.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmodelMapperSerializer
(DomainMapperMember domainMapperMember, DomainMapperManager domainMapperManager, com.broadleafcommerce.common.extension.TypeFactory typeFactory, ResourceProvider resourceProvider, KryoCustomizer kryoCustomizer, com.broadleafcommerce.common.extension.data.DataRouteReference reference, ModelMapperCacheProperties properties)
-
Constructor Details
-
ModelMapperCacheConfig
public ModelMapperCacheConfig()
-
-
Method Details
-
kryoCustomizer
-
modelMapperSerializer
@Bean @ConditionalOnMissingBean public ModelMapperSerializer modelMapperSerializer(@Qualifier("modelMapperDomainMapperMember") DomainMapperMember domainMapperMember, DomainMapperManager domainMapperManager, com.broadleafcommerce.common.extension.TypeFactory typeFactory, @Qualifier("modelMapperCacheResourceProvider") ResourceProvider resourceProvider, KryoCustomizer kryoCustomizer, @Nullable com.broadleafcommerce.common.extension.data.DataRouteReference reference, ModelMapperCacheProperties properties) -
modelMapperCacheResourceProvider
@Bean @ConditionalOnMissingBean(name="modelMapperCacheResourceProvider") public ResourceProvider modelMapperCacheResourceProvider()
-