Class EmailServiceImpl
- java.lang.Object
-
- org.onebusaway.admin.service.impl.EmailServiceImpl
-
- All Implemented Interfaces:
EmailService
,org.springframework.beans.factory.Aware
,org.springframework.web.context.ServletContextAware
public class EmailServiceImpl extends Object implements EmailService, org.springframework.web.context.ServletContextAware
-
-
Constructor Summary
Constructors Constructor Description EmailServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
send(String to, String from, String subject, StringBuffer messageBody)
void
sendAsync(String to, String from, String subject, StringBuffer messageBody)
void
sendJava(String to, String from, String subject, StringBuffer messageBody)
void
sendSES(String to, String from, String subject, StringBuffer messageBody)
void
setConfigurationService(ConfigurationService configurationService)
void
setServletContext(javax.servlet.ServletContext servletContext)
void
setSmtpPassword(String password)
void
setSmtpUser(String user)
void
setup()
-
-
-
Method Detail
-
setConfigurationService
@Autowired public void setConfigurationService(ConfigurationService configurationService)
- Parameters:
configurationService
- the configurationService to set
-
setSmtpUser
public void setSmtpUser(String user)
- Specified by:
setSmtpUser
in interfaceEmailService
-
setSmtpPassword
public void setSmtpPassword(String password)
- Specified by:
setSmtpPassword
in interfaceEmailService
-
setup
@PostConstruct public void setup()
- Specified by:
setup
in interfaceEmailService
-
sendAsync
public void sendAsync(String to, String from, String subject, StringBuffer messageBody)
- Specified by:
sendAsync
in interfaceEmailService
-
send
public void send(String to, String from, String subject, StringBuffer messageBody)
- Specified by:
send
in interfaceEmailService
-
sendSES
public void sendSES(String to, String from, String subject, StringBuffer messageBody)
-
sendJava
public void sendJava(String to, String from, String subject, StringBuffer messageBody)
-
setServletContext
public void setServletContext(javax.servlet.ServletContext servletContext)
- Specified by:
setServletContext
in interfaceorg.springframework.web.context.ServletContextAware
-
-