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