-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Rework @Configuration classes to be compatible with @Configuration(proxyBeanMethods=false) #1345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Beyond reworking
|
I was about to ask whether only |
Doing it consistently across all |
After taking a closer look at the problem, the originally reported problem will be fairly simple to address in Reworking our |
This is now resolved thanks to Framework's changes in |
Juergen has just merged support for
@Configuration(proxyBeanMethods=false)
into Framework 5.2 snapshots. We’re going to make as much use of that as possible in Boot 2.2.0.M2 (spring-projects/spring-boot#9068). There’s a configuration class in Boot where we need@Bean
methods to be proxied because they subclass a Spring Session configuration class that requires it. The class in question iso.s.b.a.s.RedisSessionConfiguration$SpringBootRedisHttpSessionConfiguration
which is a subclass ofo.s.s.d.r.c.a.w.h.RedisHttpSessionConfiguration
. Could you please consider reworking things in Spring Session so that the proxy isn’t needed?The text was updated successfully, but these errors were encountered: