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
RefreshEventListener no longer depends on RefreshEndpoint.
Instead it depends on ContextRefresher with actually does the work.
This allows applications to use the listener even if they don't depend
on actuator.
fixesspring-projectsgh-171
Copy file name to clipboardExpand all lines: spring-cloud-context/src/main/java/org/springframework/cloud/autoconfigure/RefreshEndpointAutoConfiguration.java
* Calls {@link RefreshEndpoint#refresh()} when a {@link RefreshEvent} is received.
13
+
* Calls {@link RefreshEventListener#refresh} when a {@link RefreshEvent} is received.
14
14
* Only responds to {@link RefreshEvent} after receiving an {@link ApplicationReadyEvent} as the RefreshEvent's might come to early in the application lifecycle.
0 commit comments