nl.surfnet.coin.shared.service.impl
Class MailServiceImpl
java.lang.Object
nl.surfnet.coin.shared.service.impl.MailServiceImpl
- All Implemented Interfaces:
- MailService
@Component(value="mailService")
public class MailServiceImpl
- extends Object
- implements MailService
|
Method Summary |
void |
sendAsync(org.springframework.mail.javamail.MimeMessagePreparator preparator)
|
void |
sendAsync(org.springframework.mail.SimpleMailMessage msg)
|
void |
setMailSender(org.springframework.mail.javamail.JavaMailSender mailSender)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MailServiceImpl
public MailServiceImpl()
sendAsync
@Async
public void sendAsync(org.springframework.mail.javamail.MimeMessagePreparator preparator)
throws org.springframework.mail.MailException
- Specified by:
sendAsync in interface MailService
- Throws:
org.springframework.mail.MailException
sendAsync
@Async
public void sendAsync(org.springframework.mail.SimpleMailMessage msg)
throws org.springframework.mail.MailException
- Specified by:
sendAsync in interface MailService
- Throws:
org.springframework.mail.MailException
setMailSender
public void setMailSender(org.springframework.mail.javamail.JavaMailSender mailSender)
Copyright © 2009–2013 SURFnet bv, The Netherlands. All rights reserved.