Class SystemConfiguration
java.lang.Object
com.bluebell.greenhouse.platform.configuration.SystemConfiguration
Configuration for bluebell.
- Version:
- 1.0.9
- Author:
- Stephen Prizio
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.github.cdimascio.dotenv.Dotenvdotenv()Configures the dot env.static org.springframework.mail.javamail.JavaMailSendergetJavaMailSender(io.github.cdimascio.dotenv.Dotenv dotenv) Configures the java mail sender.com.fasterxml.jackson.databind.ObjectMapperConfigures a sharedObjectMapperfor the application context.
-
Constructor Details
-
SystemConfiguration
public SystemConfiguration()
-
-
Method Details
-
dotenv
@Bean public io.github.cdimascio.dotenv.Dotenv dotenv()Configures the dot env.- Returns:
Dotenv
-
objectMapper
@Bean public com.fasterxml.jackson.databind.ObjectMapper objectMapper()Configures a sharedObjectMapperfor the application context.- Returns:
ObjectMapper
-
getJavaMailSender
@Bean public static org.springframework.mail.javamail.JavaMailSender getJavaMailSender(io.github.cdimascio.dotenv.Dotenv dotenv) Configures the java mail sender.- Parameters:
dotenv-Dotenv- Returns:
JavaMailSender
-