Class ApplicationStartedEvent

    • Constructor Detail

      • ApplicationStartedEvent

        public ApplicationStartedEvent​(SpringApplication application,
                                       String[] args,
                                       org.springframework.context.ConfigurableApplicationContext context)
        Create a new ApplicationStartedEvent instance.
        Parameters:
        application - the current application
        args - the arguments the application is running with
        context - the context that was being created
    • Method Detail

      • getApplicationContext

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