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
Remove deprecated support for FailureAnalyzer setter injection
* Remove deprecated support for `FailureAnalyzer` setter injection at `FailureAnalyzersTests`
* remove unused `FailureAnalyzer` at `spring.factories`
* fix `application.adoc`
Closesspring-projects#38238
NOTE: If you need access to the `BeanFactory` or the `Environment`, your `FailureAnalyzer` can implement `BeanFactoryAware` or `EnvironmentAware` respectively.
26
+
NOTE: If you need access to the `BeanFactory` or the `Environment`, your `FailureAnalyzer` can accept a `BeanFactoryAware` and/or `Environment` as constructor parameters.
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot/src/test/java/org/springframework/boot/diagnostics/FailureAnalyzersTests.java
0 commit comments