Provide a pluggable abstraction for resolving SpringBootExceptionReporters #15955
Labels
status: declined
A suggestion or change that we don't feel we should currently apply
type: enhancement
A general enhancement
Currently, a
SpringBootExceptionReporter
is required to provide a constructor that takes aConfigurableApplicationContext
. This has two downsides:spring.factories
with a pluggable, potentially non-reflective, mechanism (Allow other strategies than META-INF/spring.factories for configuring Spring Boot infrastructure #15704).We should move to using
ApplicationContextAware
instead. It should be possible to do so without breaking any existingSpringBootExceptionReporter
implementations (although I think it's unlikely that there are any outside of Boot itself).The text was updated successfully, but these errors were encountered: