Class LdapHealthContributorAutoConfiguration

java.lang.Object
org.springframework.boot.health.autoconfigure.contributor.CompositeHealthContributorConfiguration<LdapHealthIndicator, org.springframework.ldap.core.LdapOperations>
org.springframework.boot.ldap.autoconfigure.health.LdapHealthContributorAutoConfiguration

@AutoConfiguration(after=LdapAutoConfiguration.class) @ConditionalOnClass({org.springframework.ldap.core.LdapOperations.class,LdapHealthIndicator.class,ConditionalOnEnabledHealthIndicator.class}) @ConditionalOnBean(org.springframework.ldap.core.LdapOperations.class) @ConditionalOnEnabledHealthIndicator("ldap") public final class LdapHealthContributorAutoConfiguration extends CompositeHealthContributorConfiguration<LdapHealthIndicator, org.springframework.ldap.core.LdapOperations>
Since:
4.0.0
Author:
EddĂș MelĂ©ndez, Stephane Nicoll
  • Method Details

    • createContributor

      protected final HealthContributor createContributor(ConfigurableListableBeanFactory beanFactory, Class<org.springframework.ldap.core.LdapOperations> 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, org.springframework.ldap.core.LdapOperations> beans)
    • createIndicator

      protected LdapHealthIndicator createIndicator(org.springframework.ldap.core.LdapOperations bean)