@ConditionalOnProperty(name="broadleaf.database.provider",
havingValue="jpa")
@EnableJpaRepositories(basePackageClasses=JpaScheduledJobRepository.class,
repositoryFactoryBeanClass=com.broadleafcommerce.data.tracking.jpa.filtering.narrow.factory.JpaTrackableRepositoryFactoryBean.class,
entityManagerFactoryRef="scheduledJobEntityManagerFactory",
transactionManagerRef="scheduledJobTransactionManager")
@JpaEntityScan(basePackages="com.broadleafcommerce.scheduledjob.provider.jpa.domain",
routePackage="com.broadleafcommerce.scheduledjob")
@EnableConfigurationProperties(ScheduledJobProperties.class)
@JpaDataRoute(boundPropertiesType=ScheduledJobProperties.class,
routePackage="com.broadleafcommerce.scheduledjob",
routeKey="scheduledJob",
supportingRouteTypes={com.broadleafcommerce.data.tracking.core.data.TrackingDataRouteSupporting.class,com.broadleafcommerce.common.messaging.data.MessagingDataRouteSupporting.class})
public class ScheduledJobJpaAutoConfiguration
extends Object
- Author:
- Samarth Dhruva (samarthd)