@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=org.neo4j.ogm.session.SessionFactory.class) @ConditionalOnBean(value=org.neo4j.ogm.session.SessionFactory.class) @ConditionalOnEnabledHealthIndicator(value="neo4j") @AutoConfigureBefore(value=HealthIndicatorAutoConfiguration.class) @AutoConfigureAfter(value=Neo4jDataAutoConfiguration.class) public class Neo4jHealthIndicatorAutoConfiguration extends CompositeHealthIndicatorConfiguration<Neo4jHealthIndicator,org.neo4j.ogm.session.SessionFactory>
Constructor and Description |
---|
Neo4jHealthIndicatorAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
HealthIndicator |
neo4jHealthIndicator(Map<String,org.neo4j.ogm.session.SessionFactory> sessionFactories) |
createHealthIndicator, createHealthIndicator
public Neo4jHealthIndicatorAutoConfiguration()
@Bean @ConditionalOnMissingBean(name="neo4jHealthIndicator") public HealthIndicator neo4jHealthIndicator(Map<String,org.neo4j.ogm.session.SessionFactory> sessionFactories)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.