@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value={org.neo4j.ogm.session.SessionFactory.class,org.springframework.data.neo4j.transaction.Neo4jTransactionManager.class,org.springframework.transaction.PlatformTransactionManager.class}) @EnableConfigurationProperties(value=Neo4jProperties.class) @Import(value=org.springframework.boot.autoconfigure.data.neo4j.Neo4jBookmarkManagementConfiguration.class) public class Neo4jDataAutoConfiguration extends Object
Auto-configuration
for Spring Data Neo4j.Constructor and Description |
---|
Neo4jDataAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.data.neo4j.transaction.Neo4jTransactionManager |
transactionManager(org.neo4j.ogm.session.SessionFactory sessionFactory,
ObjectProvider<TransactionManagerCustomizers> transactionManagerCustomizers) |
@Bean @ConditionalOnMissingBean(value=org.springframework.transaction.PlatformTransactionManager.class) public org.springframework.data.neo4j.transaction.Neo4jTransactionManager transactionManager(org.neo4j.ogm.session.SessionFactory sessionFactory, ObjectProvider<TransactionManagerCustomizers> transactionManagerCustomizers)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.