Package ubic.gemma.core.util
Class DummyMailSender
- java.lang.Object
-
- ubic.gemma.core.util.DummyMailSender
-
- All Implemented Interfaces:
InitializingBean
,MailSender
public class DummyMailSender extends Object implements MailSender, 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(SimpleMailMessage simpleMessage)
void
send(SimpleMailMessage[] simpleMessages)
-
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception
- Specified by:
afterPropertiesSet
in interfaceInitializingBean
- Throws:
Exception
-
send
public void send(SimpleMailMessage simpleMessage) throws MailException
- Specified by:
send
in interfaceMailSender
- Throws:
MailException
-
send
public void send(SimpleMailMessage[] simpleMessages) throws MailException
- Specified by:
send
in interfaceMailSender
- Throws:
MailException
-
-