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

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Configuration for ModelMapper caching.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)