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