Class Neo4jDataAutoConfiguration

java.lang.Object
org.springframework.boot.autoconfigure.data.neo4j.Neo4jDataAutoConfiguration

@AutoConfiguration(before=TransactionAutoConfiguration.class, after=Neo4jAutoConfiguration.class) @ConditionalOnClass({org.neo4j.driver.Driver.class,org.springframework.data.neo4j.core.transaction.Neo4jTransactionManager.class,org.springframework.transaction.PlatformTransactionManager.class}) @EnableConfigurationProperties(Neo4jDataProperties.class) @ConditionalOnBean(org.neo4j.driver.Driver.class) public class Neo4jDataAutoConfiguration extends Object
Auto-configuration for Spring Data Neo4j.
Since:
1.4.0
Author:
Michael Hunger, Josh Long, Vince Bickers, Stephane Nicoll, Kazuki Shimizu, Michael J. Simons
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.data.neo4j.core.DatabaseSelectionProvider
     
    org.springframework.data.neo4j.core.Neo4jClient
    neo4jClient(org.neo4j.driver.Driver driver, org.springframework.data.neo4j.core.DatabaseSelectionProvider databaseNameProvider)
     
    org.springframework.data.neo4j.core.convert.Neo4jConversions
     
    org.springframework.data.neo4j.core.mapping.Neo4jMappingContext
    neo4jMappingContext(org.springframework.data.neo4j.aot.Neo4jManagedTypes managedTypes, org.springframework.data.neo4j.core.convert.Neo4jConversions neo4jConversions)
     
    org.springframework.data.neo4j.core.Neo4jTemplate
    neo4jTemplate(org.springframework.data.neo4j.core.Neo4jClient neo4jClient, org.springframework.data.neo4j.core.mapping.Neo4jMappingContext neo4jMappingContext)
     
    org.springframework.data.neo4j.core.transaction.Neo4jTransactionManager
    transactionManager(org.neo4j.driver.Driver driver, org.springframework.data.neo4j.core.DatabaseSelectionProvider databaseNameProvider, ObjectProvider<TransactionManagerCustomizers> optionalCustomizers)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Neo4jDataAutoConfiguration

      public Neo4jDataAutoConfiguration()
  • Method Details

    • neo4jConversions

      @Bean @ConditionalOnMissingBean public org.springframework.data.neo4j.core.convert.Neo4jConversions neo4jConversions()
    • neo4jMappingContext

      @Bean @ConditionalOnMissingBean public org.springframework.data.neo4j.core.mapping.Neo4jMappingContext neo4jMappingContext(org.springframework.data.neo4j.aot.Neo4jManagedTypes managedTypes, org.springframework.data.neo4j.core.convert.Neo4jConversions neo4jConversions)
    • databaseSelectionProvider

      @Bean @ConditionalOnMissingBean public org.springframework.data.neo4j.core.DatabaseSelectionProvider databaseSelectionProvider(Neo4jDataProperties properties)
    • neo4jClient

      @Bean("neo4jClient") @ConditionalOnMissingBean public org.springframework.data.neo4j.core.Neo4jClient neo4jClient(org.neo4j.driver.Driver driver, org.springframework.data.neo4j.core.DatabaseSelectionProvider databaseNameProvider)
    • neo4jTemplate

      @Bean("neo4jTemplate") @ConditionalOnMissingBean(org.springframework.data.neo4j.core.Neo4jOperations.class) public org.springframework.data.neo4j.core.Neo4jTemplate neo4jTemplate(org.springframework.data.neo4j.core.Neo4jClient neo4jClient, org.springframework.data.neo4j.core.mapping.Neo4jMappingContext neo4jMappingContext)
    • transactionManager

      @Bean("transactionManager") @ConditionalOnMissingBean(org.springframework.transaction.TransactionManager.class) public org.springframework.data.neo4j.core.transaction.Neo4jTransactionManager transactionManager(org.neo4j.driver.Driver driver, org.springframework.data.neo4j.core.DatabaseSelectionProvider databaseNameProvider, ObjectProvider<TransactionManagerCustomizers> optionalCustomizers)