类 EventPublishingRunListener

    • 字段概要

      • 从接口继承的字段 org.springframework.core.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型方法说明
      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.
      voidfinished​(org.springframework.context.ConfigurableApplicationContext context, Throwable exception)
      Called immediately before the run method finishes.
      intgetOrder() 
      voidstarting()
      Called immediately when the run method has first started.