@Configuration @ConditionalOnBean(value=org.springframework.mail.javamail.JavaMailSenderImpl.class) @ConditionalOnEnabledHealthIndicator(value="mail") public static class HealthIndicatorAutoConfiguration.MailHealthIndicatorConfiguration extends CompositeHealthIndicatorConfiguration<MailHealthIndicator,JavaMailSenderImpl>
Constructor and Description |
---|
MailHealthIndicatorConfiguration(ObjectProvider<Map<String,JavaMailSenderImpl>> mailSendersProvider) |
Modifier and Type | Method and Description |
---|---|
HealthIndicator |
mailHealthIndicator() |
createHealthIndicator, createHealthIndicator
public MailHealthIndicatorConfiguration(ObjectProvider<Map<String,JavaMailSenderImpl>> mailSendersProvider)
@Bean @ConditionalOnMissingBean(name="mailHealthIndicator") public HealthIndicator mailHealthIndicator()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.