You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently EventPublishingRunListener collects listeners attached to SpringApplication on construction and uses them for all early events. This means that it's not possible for an ApplicationStartingEvent listener to add additional listeners to the SpringApplication. We're going to need to support this for AOT testing.
The text was updated successfully, but these errors were encountered:
Update `EventPublishingRunListener` so that event listeners may add
additional listeners to the `SpringApplication` during early events.
Prior to this commit, the listeners were collected only once which
meant that if a listener for an `ApplicationStartingEvent` called
`application.addListener(...)`, it would be ignored.
Closesspring-projectsgh-32300
philwebb
added a commit
to philwebb/spring-boot
that referenced
this issue
Sep 13, 2022
Update `EventPublishingRunListener` so that event listeners may add
additional listeners to the `SpringApplication` during early events.
Prior to this commit, the listeners were collected only once which
meant that if a listener for an `ApplicationStartingEvent` called
`application.addListener(...)`, it would be ignored.
Closesspring-projectsgh-32300
Uh oh!
There was an error while loading. Please reload this page.
Currently
EventPublishingRunListener
collects listeners attached toSpringApplication
on construction and uses them for all early events. This means that it's not possible for anApplicationStartingEvent
listener to add additional listeners to theSpringApplication
. We're going to need to support this for AOT testing.The text was updated successfully, but these errors were encountered: