@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value={org.neo4j.driver.Driver.class,org.springframework.data.neo4j.core.ReactiveNeo4jTemplate.class,org.springframework.transaction.ReactiveTransactionManager.class,reactor.core.publisher.Flux.class}) @ConditionalOnBean(value=org.neo4j.driver.Driver.class) @AutoConfigureAfter(value=Neo4jDataAutoConfiguration.class) @Import(value=org.springframework.data.neo4j.config.Neo4jDefaultReactiveCallbacksRegistrar.class) public class Neo4jReactiveDataAutoConfiguration extends Object
Auto-configuration
for Spring Data's reactive Neo4j
support.Constructor and Description |
---|
Neo4jReactiveDataAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.data.neo4j.core.ReactiveDatabaseSelectionProvider |
reactiveDatabaseSelectionProvider(Neo4jDataProperties dataProperties) |
org.springframework.data.neo4j.core.ReactiveNeo4jClient |
reactiveNeo4jClient(org.neo4j.driver.Driver driver) |
org.springframework.data.neo4j.core.ReactiveNeo4jTemplate |
reactiveNeo4jTemplate(org.springframework.data.neo4j.core.ReactiveNeo4jClient neo4jClient,
org.springframework.data.neo4j.core.mapping.Neo4jMappingContext neo4jMappingContext,
org.springframework.data.neo4j.core.ReactiveDatabaseSelectionProvider databaseNameProvider) |
@Bean @ConditionalOnMissingBean public org.springframework.data.neo4j.core.ReactiveDatabaseSelectionProvider reactiveDatabaseSelectionProvider(Neo4jDataProperties dataProperties)
@Bean(value="reactiveNeo4jClient") @ConditionalOnMissingBean public org.springframework.data.neo4j.core.ReactiveNeo4jClient reactiveNeo4jClient(org.neo4j.driver.Driver driver)
@Bean(value="reactiveNeo4jTemplate") @ConditionalOnMissingBean(value=org.springframework.data.neo4j.core.ReactiveNeo4jOperations.class) public org.springframework.data.neo4j.core.ReactiveNeo4jTemplate reactiveNeo4jTemplate(org.springframework.data.neo4j.core.ReactiveNeo4jClient neo4jClient, org.springframework.data.neo4j.core.mapping.Neo4jMappingContext neo4jMappingContext, org.springframework.data.neo4j.core.ReactiveDatabaseSelectionProvider databaseNameProvider)