Class MailConfig

java.lang.Object
dev.dsf.bpe.spring.config.MailConfig
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean

@Configuration public class MailConfig extends Object implements org.springframework.beans.factory.InitializingBean
  • Constructor Details

    • MailConfig

      public MailConfig()
  • Method Details

    • mailService

      @Bean public MailService mailService()
    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • onContextRefreshedEvent

      @EventListener(org.springframework.context.event.ContextRefreshedEvent.class) public void onContextRefreshedEvent(org.springframework.context.event.ContextRefreshedEvent event) throws IOException
      Throws:
      IOException