Class DomainMapperJpaAutoConfiguration
java.lang.Object
com.broadleafcommerce.data.tracking.jpa.autoconfigure.DomainMapperJpaAutoConfiguration
@ConditionalOnProperty(name="broadleaf.database.provider",
havingValue="jpa")
@Configuration
@AutoConfigureAfter(org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration.class)
@AutoConfigureBefore(com.broadleafcommerce.data.tracking.core.autoconfigure.DomainMapperAutoConfiguration.class)
public class DomainMapperJpaAutoConfiguration
extends Object
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Configuration for ModelMapper caching. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.beans.factory.config.BeanPostProcessor
jpaTrackingModelMapperPostProcessor
(com.broadleafcommerce.common.extension.TypeFactory factory) com.fasterxml.jackson.databind.Module
com.broadleafcommerce.data.tracking.core.mapping.TrackableDomainMapperMemberSupport
trackableDomainMapperMemberSupport
(com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.broadleafcommerce.data.tracking.core.TrackableBehaviorUtil behaviorUtil, com.fasterxml.jackson.databind.ObjectMapper fieldChangeMapper, org.modelmapper.ModelMapper modelMapper, com.broadleafcommerce.data.tracking.core.mapping.ContextStateBuilder contextStateBuilder, com.broadleafcommerce.data.tracking.core.policy.trackable.CatalogFinder<com.broadleafcommerce.data.tracking.core.tenant.domain.Catalog> catalogFinder)
-
Constructor Details
-
DomainMapperJpaAutoConfiguration
public DomainMapperJpaAutoConfiguration()
-
-
Method Details
-
jpaTrackingModelMapperPostProcessor
@Bean @ConditionalOnMissingBean(name="jpaTrackingModelMapperPostProcessor") public org.springframework.beans.factory.config.BeanPostProcessor jpaTrackingModelMapperPostProcessor(com.broadleafcommerce.common.extension.TypeFactory factory) -
objectMapperHibernateModule
@Bean public com.fasterxml.jackson.databind.Module objectMapperHibernateModule() -
trackableDomainMapperMemberSupport
@Bean @ConditionalOnMissingBean public com.broadleafcommerce.data.tracking.core.mapping.TrackableDomainMapperMemberSupport trackableDomainMapperMemberSupport(com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.broadleafcommerce.data.tracking.core.TrackableBehaviorUtil behaviorUtil, com.fasterxml.jackson.databind.ObjectMapper fieldChangeMapper, org.modelmapper.ModelMapper modelMapper, com.broadleafcommerce.data.tracking.core.mapping.ContextStateBuilder contextStateBuilder, com.broadleafcommerce.data.tracking.core.policy.trackable.CatalogFinder<com.broadleafcommerce.data.tracking.core.tenant.domain.Catalog> catalogFinder)
-