Class ApplicationPreparedEvent

    • Constructor Detail

      • ApplicationPreparedEvent

        public ApplicationPreparedEvent​(SpringApplication application,
                                        String[] args,
                                        org.springframework.context.ConfigurableApplicationContext context)
        Create a new ApplicationPreparedEvent instance.
        Parameters:
        application - the current application
        args - the arguments the application is running with
        context - the ApplicationContext about to be refreshed
    • Method Detail

      • getApplicationContext

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