@Configuration(proxyBeanMethods=false) @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() |
Modifier and Type | Method and Description |
---|---|
com.sendgrid.SendGrid |
sendGrid(SendGridProperties properties) |
@Bean @ConditionalOnMissingBean(value=com.sendgrid.SendGridAPI.class) public com.sendgrid.SendGrid sendGrid(SendGridProperties properties)