Class EventPublishingRunListener

    • Field Summary

      • Fields inherited from interface org.springframework.core.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidcontextLoaded​(org.springframework.context.ConfigurableApplicationContext context)
      Called once the application context has been loaded but before it has been refreshed.
      voidcontextPrepared​(org.springframework.context.ConfigurableApplicationContext context)
      Called once the ApplicationContext has been created and prepared, but before sources have been loaded.
      voidenvironmentPrepared​(org.springframework.core.env.ConfigurableEnvironment environment)
      Called once the environment has been prepared, but before the ApplicationContext has been created.
      voidfailed​(org.springframework.context.ConfigurableApplicationContext context, Throwable exception)
      Called when a failure occurs when running the application.
      intgetOrder() 
      voidrunning​(org.springframework.context.ConfigurableApplicationContext context)
      Called immediately before the run method finishes, when the application context has been refreshed and all CommandLineRunners and ApplicationRunners have been called.
      voidstarted​(org.springframework.context.ConfigurableApplicationContext context)
      The context has been refreshed and the application has started but CommandLineRunners and ApplicationRunners have not been called.
      voidstarting()
      Called immediately when the run method has first started.