public class ProcessApplicationEventPublisher extends Object implements org.springframework.context.ApplicationContextAware
Constructor and Description |
---|
ProcessApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher) |
Modifier and Type | Method and Description |
---|---|
void |
handleApplicationReadyEvent(org.springframework.boot.context.event.ApplicationReadyEvent applicationReadyEvent) |
void |
handleContextStoppedEvent(org.springframework.context.event.ContextClosedEvent contextStoppedEvent) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public ProcessApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher)
@EventListener public void handleApplicationReadyEvent(org.springframework.boot.context.event.ApplicationReadyEvent applicationReadyEvent)
@EventListener public void handleContextStoppedEvent(org.springframework.context.event.ContextClosedEvent contextStoppedEvent)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
Copyright © 2021. All rights reserved.