Allow to inject the Environment in FailureAnalyzer
Closes gh-11569
This commit is contained in:
@@ -48,6 +48,9 @@ The following example registers `ProjectConstraintViolationFailureAnalyzer`:
|
||||
com.example.ProjectConstraintViolationFailureAnalyzer
|
||||
----
|
||||
|
||||
NOTE: If you need access to the `BeanFactory` or the `Environment`, your `FailureAnalyzer`
|
||||
can simply implement `BeanFactoryAware` or `EnvironmentAware` respectively.
|
||||
|
||||
|
||||
|
||||
[[howto-troubleshoot-auto-configuration]]
|
||||
|
||||
Reference in New Issue
Block a user