Class SystemConfiguration

java.lang.Object
com.bluebell.greenhouse.platform.configuration.SystemConfiguration

@Configuration public class SystemConfiguration extends Object
Configuration for bluebell.
Version:
1.0.9
Author:
Stephen Prizio
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.github.cdimascio.dotenv.Dotenv
    Configures the dot env.
    static org.springframework.mail.javamail.JavaMailSender
    getJavaMailSender(io.github.cdimascio.dotenv.Dotenv dotenv)
    Configures the java mail sender.
    com.fasterxml.jackson.databind.ObjectMapper
    Configures a shared ObjectMapper for the application context.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 shared ObjectMapper for 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