Package ubic.gemma.core.util
Class DummyMailSender
- java.lang.Object
-
- ubic.gemma.core.util.DummyMailSender
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
,org.springframework.mail.MailSender
public class DummyMailSender extends Object implements org.springframework.mail.MailSender, org.springframework.beans.factory.InitializingBean
Mock mail sender for testing.- Author:
- Paul
-
-
Constructor Summary
Constructors Constructor Description DummyMailSender()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
void
send(org.springframework.mail.SimpleMailMessage simpleMessage)
void
send(org.springframework.mail.SimpleMailMessage[] simpleMessages)
-
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
send
public void send(org.springframework.mail.SimpleMailMessage simpleMessage) throws org.springframework.mail.MailException
- Specified by:
send
in interfaceorg.springframework.mail.MailSender
- Throws:
org.springframework.mail.MailException
-
send
public void send(org.springframework.mail.SimpleMailMessage[] simpleMessages) throws org.springframework.mail.MailException
- Specified by:
send
in interfaceorg.springframework.mail.MailSender
- Throws:
org.springframework.mail.MailException
-
-