public class BroadleafThymeleaf3MessageCreator
extends org.broadleafcommerce.common.email.service.message.MessageCreator
implements org.springframework.context.ApplicationContextAware
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.context.ApplicationContext |
applicationContext |
protected org.thymeleaf.TemplateEngine |
templateEngine |
| Constructor and Description |
|---|
BroadleafThymeleaf3MessageCreator(org.thymeleaf.TemplateEngine templateEngine,
org.springframework.mail.javamail.JavaMailSender mailSender) |
| Modifier and Type | Method and Description |
|---|---|
String |
buildMessageBody(org.broadleafcommerce.common.email.service.info.EmailInfo info,
Map<String,Object> props) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
protected org.thymeleaf.TemplateEngine templateEngine
protected org.springframework.context.ApplicationContext applicationContext
public BroadleafThymeleaf3MessageCreator(org.thymeleaf.TemplateEngine templateEngine,
org.springframework.mail.javamail.JavaMailSender mailSender)
public void setApplicationContext(@NonNull
org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2021. All rights reserved.