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 voidafterPropertiesSet()voidsend(org.springframework.mail.SimpleMailMessage simpleMessage)voidsend(org.springframework.mail.SimpleMailMessage[] simpleMessages)
-
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
send
public void send(org.springframework.mail.SimpleMailMessage simpleMessage) throws org.springframework.mail.MailException- Specified by:
sendin 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:
sendin interfaceorg.springframework.mail.MailSender- Throws:
org.springframework.mail.MailException
-
-