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

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

Introduction

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

Prototype

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

Source Link

Document

Create a new ApplicationStartedEvent instance.

Usage

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

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