Class DataImportJpaAutoConfiguration

java.lang.Object
com.broadleafcommerce.dataimport.provider.jpa.autoconfigure.DataImportJpaAutoConfiguration

@AutoConfigureAfter(com.broadleafcommerce.common.jpa.autoconfigure.CommonJpaAutoConfiguration.class) @Configuration @ConditionalOnProperty(name="broadleaf.database.provider", havingValue="jpa") @EnableJpaRepositories(basePackageClasses=JpaImportRepository.class, repositoryFactoryBeanClass=com.broadleafcommerce.data.tracking.jpa.filtering.narrow.factory.JpaMappableRepositoryFactoryBean.class, entityManagerFactoryRef="importEntityManagerFactory", transactionManagerRef="importTransactionManager") @JpaEntityScan(basePackages="com.broadleafcommerce.dataimport.provider.jpa.domain", routePackage="com.broadleafcommerce.dataimport") @EnableConfigurationProperties(JpaDataImportProperties.class) @JpaDataRoute(boundPropertiesType=JpaDataImportProperties.class, routePackage="com.broadleafcommerce.dataimport", routeKey="import", supportingRouteTypes={com.broadleafcommerce.data.tracking.core.data.TrackingDataRouteSupporting.class,com.broadleafcommerce.common.messaging.data.MessagingDataRouteSupporting.class,com.broadleafcommerce.data.tracking.core.data.CatalogDataRouteSupporting.class,com.broadleafcommerce.data.tracking.core.data.ApplicationDataRouteSupporting.class,com.broadleafcommerce.common.dataimport.data.ImportDataRouteSupporting.class}) public class DataImportJpaAutoConfiguration extends Object
The main JPA auto configuration that initializes the out of the box JPA repositories and domain.
Author:
Samarth Dhruva (samarthd)
  • Constructor Details

    • DataImportJpaAutoConfiguration

      public DataImportJpaAutoConfiguration()
  • Method Details

    • jpaImportStorageService

      @Bean @ConditionalOnMissingBean public StorageService jpaImportStorageService(JpaImportLobRepository<com.broadleafcommerce.dataimport.provider.jpa.domain.JpaImportLob> importLobRepository, com.broadleafcommerce.common.extension.TypeFactory typeFactory)
    • jpaImportRepositoryImpl

      @Bean @ConditionalOnMissingBean public CustomizedImportRepository<JpaImport> jpaImportRepositoryImpl(@Qualifier("jpaNotificationStateRepositoryFragment") com.broadleafcommerce.common.messaging.notification.NotificationStateRepositoryFragment notificationStateRepository)
    • jpaImportBatchItemCompletionRepositoryImpl

      @Bean @ConditionalOnMissingBean public CustomizedImportBatchItemCompletionRepository<JpaBatchItemCompletion> jpaImportBatchItemCompletionRepositoryImpl(@Qualifier("jpaNotificationStateRepositoryFragment") com.broadleafcommerce.common.messaging.notification.NotificationStateRepositoryFragment notificationStateRepository)
    • jpaImportBatchRepositoryImpl

      @Bean @ConditionalOnMissingBean public CustomizedImportBatchRepository<JpaBatch> jpaImportBatchRepositoryImpl(@Qualifier("jpaNotificationStateRepositoryFragment") com.broadleafcommerce.common.messaging.notification.NotificationStateRepositoryFragment notificationStateRepository)