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, getServiceInfoType
public JavaMailSender create(SmtpServiceInfo serviceInfo, ServiceConnectorConfig config)
ServiceConnectorCreator
serviceInfo
- the ServiceInfo
object containing the information necessary to connect to the serviceconfig
- configuration information to be applied to the connection