public class MailSenderCreator extends AbstractServiceConnectorCreator<JavaMailSender,SmtpServiceInfo>
| Constructor and Description |
|---|
MailSenderCreator() |
| Modifier and Type | Method and Description |
|---|---|
JavaMailSender |
create(SmtpServiceInfo serviceInfo,
ServiceConnectorConfig config)
Create service for the given service info and configured with the given
configuration
|
getServiceConnectorType, getServiceInfoTypepublic JavaMailSender create(SmtpServiceInfo serviceInfo, ServiceConnectorConfig config)
ServiceConnectorCreatorserviceInfo - the ServiceInfo object containing the information necessary to connect to the serviceconfig - configuration information to be applied to the connection