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