Class HazelcastHealthContributorAutoConfiguration
java.lang.Object
org.springframework.boot.health.autoconfigure.contributor.CompositeHealthContributorConfiguration<HazelcastHealthIndicator, com.hazelcast.core.HazelcastInstance>
org.springframework.boot.hazelcast.autoconfigure.health.HazelcastHealthContributorAutoConfiguration
@AutoConfiguration(after=HazelcastAutoConfiguration.class)
@ConditionalOnClass({com.hazelcast.core.HazelcastInstance.class,ConditionalOnEnabledHealthIndicator.class})
@ConditionalOnBean(com.hazelcast.core.HazelcastInstance.class)
@ConditionalOnEnabledHealthIndicator("hazelcast")
public final class HazelcastHealthContributorAutoConfiguration
extends CompositeHealthContributorConfiguration<HazelcastHealthIndicator, com.hazelcast.core.HazelcastInstance>
- Since:
- 4.0.0
- Author:
- Dmytro Nosan
-
Method Summary
Modifier and TypeMethodDescriptionprotected final HealthContributorcreateContributor(Map<String, com.hazelcast.core.HazelcastInstance> beans) protected final HealthContributorcreateContributor(ConfigurableListableBeanFactory beanFactory, Class<com.hazelcast.core.HazelcastInstance> beanType) Creates a composite contributor from the beans of the givenbeanTyperetrieved from the givenbeanFactory.protected HazelcastHealthIndicatorcreateIndicator(com.hazelcast.core.HazelcastInstance bean) Methods inherited from class CompositeHealthContributorConfiguration
createComposite
-
Method Details
-
createContributor
protected final HealthContributor createContributor(ConfigurableListableBeanFactory beanFactory, Class<com.hazelcast.core.HazelcastInstance> beanType) Creates a composite contributor from the beans of the givenbeanTyperetrieved from the givenbeanFactory.- Parameters:
beanFactory- the bean factory from which the beans are retrievedbeanType- the type of the beans that are retrieved- Returns:
- the contributor
-
createContributor
protected final HealthContributor createContributor(Map<String, com.hazelcast.core.HazelcastInstance> beans) -
createIndicator
-