Class BulkJpaAutoConfiguration
java.lang.Object
com.broadleafcommerce.bulk.provider.jpa.autoconfigure.BulkJpaAutoConfiguration
@AutoConfigureAfter(com.broadleafcommerce.common.jpa.autoconfigure.CommonJpaAutoConfiguration.class)
@ConditionalOnProperty(name="broadleaf.database.provider",
havingValue="jpa")
@Configuration
@JpaEntityScan(basePackages="com.broadleafcommerce.bulk.provider.jpa.domain",
routePackage="com.broadleafcommerce.bulk")
@EnableJpaRepositories(basePackageClasses=JpaBulkUpdateRepository.class,
repositoryFactoryBeanClass=com.broadleafcommerce.data.tracking.jpa.filtering.narrow.factory.JpaMappableRepositoryFactoryBean.class)
public class BulkJpaAutoConfiguration
extends Object
The main JPA auto configuration that initializes the out of the box JPA repositories and domain.
- Author:
- Samarth Dhruva (samarthd)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CustomizedBulkUpdateRepository<JpaBulkUpdate>
jpaBulkUpdateRepositoryImpl
(com.broadleafcommerce.common.messaging.notification.NotificationStateRepositoryFragment notificationFragment)
-
Constructor Details
-
BulkJpaAutoConfiguration
public BulkJpaAutoConfiguration()
-
-
Method Details
-
jpaBulkUpdateRepositoryImpl
@Bean @ConditionalOnMissingBean protected CustomizedBulkUpdateRepository<JpaBulkUpdate> jpaBulkUpdateRepositoryImpl(@Qualifier("jpaNotificationStateRepositoryFragment") com.broadleafcommerce.common.messaging.notification.NotificationStateRepositoryFragment notificationFragment)
-