Class MainApplication


  • @SpringBootApplication(exclude=org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration.class)
    @PropertySource("classpath:application.properties")
    public class MainApplication
    extends Object
    Entry class, starts the SpringBoot application
    • Constructor Detail

      • MainApplication

        public MainApplication()
    • Method Detail

      • doSomethingAfterStartup

        @EventListener(org.springframework.boot.context.event.ApplicationReadyEvent.class)
        public void doSomethingAfterStartup()
        Write logs into console and file, after server started successfully