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 Details

    • createContributor

      protected final HealthContributor createContributor(ConfigurableListableBeanFactory beanFactory, Class<com.hazelcast.core.HazelcastInstance> beanType)
      Creates a composite contributor from the beans of the given beanType retrieved from the given beanFactory.
      Parameters:
      beanFactory - the bean factory from which the beans are retrieved
      beanType - the type of the beans that are retrieved
      Returns:
      the contributor
    • createContributor

      protected final HealthContributor createContributor(Map<String, com.hazelcast.core.HazelcastInstance> beans)
    • createIndicator

      protected HazelcastHealthIndicator createIndicator(com.hazelcast.core.HazelcastInstance bean)