Class PricingJpaAutoConfiguration
java.lang.Object
com.broadleafcommerce.pricing.provider.jpa.autoconfigure.PricingJpaAutoConfiguration
@ConditionalOnProperty(name="broadleaf.database.provider",
havingValue="jpa")
@Configuration
@EnableJpaRepositories(basePackageClasses=JpaPriceDataRepository.class,
repositoryFactoryBeanClass=com.broadleafcommerce.data.tracking.jpa.filtering.narrow.factory.JpaTrackableRepositoryFactoryBean.class,
entityManagerFactoryRef="pricingEntityManagerFactory",
transactionManagerRef="pricingTransactionManager")
@JpaEntityScan(basePackages="com.broadleafcommerce.pricing.provider.jpa.domain",
routePackage="com.broadleafcommerce.pricing")
@EnableConfigurationProperties(PricingProperties.class)
@JpaDataRoute(boundPropertiesType=PricingProperties.class,
routePackage="com.broadleafcommerce.pricing",
routeKey="pricing",
supportingRouteTypes={com.broadleafcommerce.data.tracking.core.data.TrackingDataRouteSupporting.class,com.broadleafcommerce.common.messaging.data.MessagingDataRouteSupporting.class,com.broadleafcommerce.data.tracking.core.data.ApplicationDataRouteSupporting.class,com.broadleafcommerce.common.dataimport.data.ImportDataRouteSupporting.class,com.broadleafcommerce.common.dataexport.data.ExportDataRouteSupporting.class})
@AutoConfigureAfter(org.springframework.boot.autoconfigure.data.jpa.JpaRepositoriesAutoConfiguration.class)
public class PricingJpaAutoConfiguration
extends Object
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
PricingJpaAutoConfiguration
public PricingJpaAutoConfiguration()
-