@ConditionalOnClass(name="javax.persistence.EntityManagerFactory") @ConditionalOnMissingBean(value=org.springframework.batch.core.configuration.annotation.BatchConfigurer.class) @Configuration protected static class BatchAutoConfiguration.JpaBatchConfiguration extends Object
Modifier | Constructor and Description |
---|---|
protected |
JpaBatchConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.boot.autoconfigure.batch.BasicBatchConfigurer |
basicBatchConfigurer(DataSource dataSource) |
org.springframework.boot.autoconfigure.batch.BasicBatchConfigurer |
jpaBatchConfigurer(DataSource dataSource,
EntityManagerFactory entityManagerFactory) |
@Bean @ConditionalOnBean(name="entityManagerFactory") public org.springframework.boot.autoconfigure.batch.BasicBatchConfigurer jpaBatchConfigurer(DataSource dataSource, EntityManagerFactory entityManagerFactory)
@Bean @ConditionalOnMissingBean(name="entityManagerFactory") public org.springframework.boot.autoconfigure.batch.BasicBatchConfigurer basicBatchConfigurer(DataSource dataSource)
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.