Example usage for org.springframework.boot.context.event ApplicationContextInitializedEvent ApplicationContextInitializedEvent

List of usage examples for org.springframework.boot.context.event ApplicationContextInitializedEvent ApplicationContextInitializedEvent

Introduction

In this page you can find the example usage for org.springframework.boot.context.event ApplicationContextInitializedEvent ApplicationContextInitializedEvent.

Prototype

public ApplicationContextInitializedEvent(SpringApplication application, String[] args,
        ConfigurableApplicationContext context) 

Source Link

Document

Create a new ApplicationContextInitializedEvent instance.

Usage

From source file:org.springframework.boot.context.event.EventPublishingRunListener.java

@Override
public void contextPrepared(ConfigurableApplicationContext context) {
    this.initialMulticaster
            .multicastEvent(new ApplicationContextInitializedEvent(this.application, this.args, context));
}