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

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

Introduction

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

Prototype

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

Source Link

Document

Create a new ApplicationReadyEvent instance.

Usage

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

@Override
public void running(ConfigurableApplicationContext context) {
    context.publishEvent(new ApplicationReadyEvent(this.application, this.args, context));
}