nl.surfnet.coin.shared.service.impl
Class MailServiceImpl

java.lang.Object
  extended by nl.surfnet.coin.shared.service.impl.MailServiceImpl
All Implemented Interfaces:
MailService

@Component(value="mailService")
public class MailServiceImpl
extends Object
implements MailService


Constructor Summary
MailServiceImpl()
           
 
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
 

Constructor Detail

MailServiceImpl

public MailServiceImpl()
Method Detail

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.