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 Summary
Modifier and TypeMethodDescriptionprotected final HealthContributorcreateContributor(Map<String, org.springframework.ldap.core.LdapOperations> beans) protected final HealthContributorcreateContributor(ConfigurableListableBeanFactory beanFactory, Class<org.springframework.ldap.core.LdapOperations> beanType) Creates a composite contributor from the beans of the givenbeanTyperetrieved from the givenbeanFactory.protected LdapHealthIndicatorcreateIndicator(org.springframework.ldap.core.LdapOperations bean) Methods inherited from class CompositeHealthContributorConfiguration
createComposite
-
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 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, org.springframework.ldap.core.LdapOperations> beans) -
createIndicator
-