@Configuration @ConditionalOnClass(value=com.sendgrid.SendGrid.class) @ConditionalOnProperty(prefix="spring.sendgrid", value="api-key") @EnableConfigurationProperties(value=SendGridProperties.class) public class SendGridAutoConfiguration extends Object
Auto-configuration
for SendGrid.Constructor and Description |
---|
SendGridAutoConfiguration(SendGridProperties properties) |
public SendGridAutoConfiguration(SendGridProperties properties)
@Bean @ConditionalOnMissingBean(value=com.sendgrid.SendGrid.class) public com.sendgrid.SendGrid sendGrid()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.