类 ApplicationReadyEvent

    • 构造器详细资料

      • ApplicationReadyEvent

        public ApplicationReadyEvent​(SpringApplication application,
                                     String[] args,
                                     org.springframework.context.ConfigurableApplicationContext context)
        Create a new ApplicationReadyEvent instance.
        参数:
        application - the current application
        args - the arguments the application is running with
        context - the context that was being created
    • 方法详细资料

      • getApplicationContext

        public org.springframework.context.ConfigurableApplicationContext getApplicationContext()
        Return the application context.
        返回:
        the context