@Configuration @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.Modifier and Type | Class and Description |
---|---|
protected static class |
Neo4jDataAutoConfiguration.Neo4jOgmSessionFactoryConfiguration |
protected static class |
Neo4jDataAutoConfiguration.Neo4jWebConfiguration |
Constructor and Description |
---|
Neo4jDataAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.data.neo4j.transaction.Neo4jTransactionManager |
transactionManager(org.neo4j.ogm.session.SessionFactory sessionFactory,
org.springframework.beans.factory.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, org.springframework.beans.factory.ObjectProvider<TransactionManagerCustomizers> transactionManagerCustomizers)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.