类 BatchAutoConfiguration.JpaBatchConfiguration
- java.lang.Object
- org.springframework.boot.autoconfigure.batch.BatchAutoConfiguration.JpaBatchConfiguration
@EnableConfigurationProperties(BatchProperties.class) @ConditionalOnClass(value=org.springframework.transaction.PlatformTransactionManager.class, name="javax.persistence.EntityManagerFactory") @ConditionalOnMissingBean(org.springframework.batch.core.configuration.annotation.BatchConfigurer.class) @Configuration protected static class BatchAutoConfiguration.JpaBatchConfiguration extends Object
构造器概要
构造器 限定符 构造器 说明 protected
JpaBatchConfiguration(BatchProperties properties)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 BasicBatchConfigurer
basicBatchConfigurer(DataSource dataSource, org.springframework.beans.factory.ObjectProvider<TransactionManagerCustomizers> transactionManagerCustomizers)
BasicBatchConfigurer
jpaBatchConfigurer(DataSource dataSource, javax.persistence.EntityManagerFactory entityManagerFactory, org.springframework.beans.factory.ObjectProvider<TransactionManagerCustomizers> transactionManagerCustomizers)
构造器详细资料
JpaBatchConfiguration
protected JpaBatchConfiguration(BatchProperties properties)
方法详细资料
jpaBatchConfigurer
@Bean @ConditionalOnBean(name="entityManagerFactory") public BasicBatchConfigurer jpaBatchConfigurer(DataSource dataSource, javax.persistence.EntityManagerFactory entityManagerFactory, org.springframework.beans.factory.ObjectProvider<TransactionManagerCustomizers> transactionManagerCustomizers)
basicBatchConfigurer
@Bean @ConditionalOnMissingBean(name="entityManagerFactory") public BasicBatchConfigurer basicBatchConfigurer(DataSource dataSource, org.springframework.beans.factory.ObjectProvider<TransactionManagerCustomizers> transactionManagerCustomizers)