@Configuration @ConditionalOnSingleCandidate(value=org.springframework.mail.javamail.JavaMailSenderImpl.class) public class MailSenderValidatorAutoConfiguration extends Object
Auto configuration
for testing mail service
connectivity on startup.Constructor and Description |
---|
MailSenderValidatorAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
validateConnection() |
public MailSenderValidatorAutoConfiguration()
@PostConstruct public void validateConnection()
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.