@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=org.neo4j.ogm.session.SessionFactory.class) @ConditionalOnBean(value=org.neo4j.ogm.session.SessionFactory.class) @ConditionalOnEnabledHealthIndicator(value="neo4j") @AutoConfigureAfter(value=Neo4jDataAutoConfiguration.class) public class Neo4jHealthContributorAutoConfiguration extends CompositeHealthContributorConfiguration<Neo4jHealthIndicator,org.neo4j.ogm.session.SessionFactory>
Constructor and Description |
---|
Neo4jHealthContributorAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
HealthContributor |
neo4jHealthContributor(Map<String,org.neo4j.ogm.session.SessionFactory> sessionFactories) |
createComposite
createContributor, createIndicator
public Neo4jHealthContributorAutoConfiguration()
@Bean @ConditionalOnMissingBean(name={"neo4jHealthIndicator","neo4jHealthContributor"}) public HealthContributor neo4jHealthContributor(Map<String,org.neo4j.ogm.session.SessionFactory> sessionFactories)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.