@Configuration @ConditionalOnClass(value=org.neo4j.ogm.session.SessionFactory.class) @ConditionalOnBean(value=org.neo4j.ogm.session.SessionFactory.class) @ConditionalOnEnabledHealthIndicator(value="neo4j") public class Neo4jHealthIndicatorAutoConfiguration extends CompositeHealthIndicatorConfiguration<Neo4jHealthIndicator,org.neo4j.ogm.session.SessionFactory>
Constructor and Description |
---|
Neo4jHealthIndicatorAutoConfiguration(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.