Class WebEmailConfig
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.config.services.WebEmailConfig
-
@Configuration @Import(IridaApiPropertyPlaceholderConfig.class) public class WebEmailConfig extends java.lang.Object
Configuration class for loading properties files. This configuration source looks in three places for properties:- within the package at jdbc.dev.properties,
- within the package at filesystem.properties, and
- on the filesystem at /etc/irida/irida.conf
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
WebEmailConfig.ConfigurableJavaMailSender
An extension ofJavaMailSender
that allows checking to see if it's configured.static class
WebEmailConfig.ConfigurableJavaMailSenderImpl
Implementation ofWebEmailConfig.ConfigurableJavaMailSender
.
-
Constructor Summary
Constructors Constructor Description WebEmailConfig()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.thymeleaf.templateresolver.ClassLoaderTemplateResolver
classLoaderTemplateResolver()
Configure the template resolverorg.thymeleaf.spring5.SpringTemplateEngine
emailTemplateEngine()
WebEmailConfig.ConfigurableJavaMailSender
javaMailSender()
static org.springframework.context.support.PropertySourcesPlaceholderConfigurer
propertySourcesPlaceholderConfigurer()
-
-
-
Method Detail
-
propertySourcesPlaceholderConfigurer
@Bean public static org.springframework.context.support.PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer()
-
javaMailSender
@Bean public WebEmailConfig.ConfigurableJavaMailSender javaMailSender()
-
classLoaderTemplateResolver
public org.thymeleaf.templateresolver.ClassLoaderTemplateResolver classLoaderTemplateResolver()
Configure the template resolver- Returns:
- A ClassLoaderTemplateResolver
-
emailTemplateEngine
@Bean public org.thymeleaf.spring5.SpringTemplateEngine emailTemplateEngine()
-
-