|
|
@ -49,9 +49,8 @@ import org.springframework.util.ErrorHandler;
|
|
|
|
* @author Artsiom Yudovin
|
|
|
|
* @author Artsiom Yudovin
|
|
|
|
* @author Brian Clozel
|
|
|
|
* @author Brian Clozel
|
|
|
|
* @author Chris Bono
|
|
|
|
* @author Chris Bono
|
|
|
|
* @since 1.0.0
|
|
|
|
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public class EventPublishingRunListener implements SpringApplicationRunListener, Ordered {
|
|
|
|
class EventPublishingRunListener implements SpringApplicationRunListener, Ordered {
|
|
|
|
|
|
|
|
|
|
|
|
private final SpringApplication application;
|
|
|
|
private final SpringApplication application;
|
|
|
|
|
|
|
|
|
|
|
@ -59,7 +58,7 @@ public class EventPublishingRunListener implements SpringApplicationRunListener,
|
|
|
|
|
|
|
|
|
|
|
|
private final SimpleApplicationEventMulticaster initialMulticaster;
|
|
|
|
private final SimpleApplicationEventMulticaster initialMulticaster;
|
|
|
|
|
|
|
|
|
|
|
|
public EventPublishingRunListener(SpringApplication application, String[] args) {
|
|
|
|
EventPublishingRunListener(SpringApplication application, String[] args) {
|
|
|
|
this.application = application;
|
|
|
|
this.application = application;
|
|
|
|
this.args = args;
|
|
|
|
this.args = args;
|
|
|
|
this.initialMulticaster = new SimpleApplicationEventMulticaster();
|
|
|
|
this.initialMulticaster = new SimpleApplicationEventMulticaster();
|
|
|
|