Skip to content

Rework @Configuration classes to be compatible with @Configuration(proxyBeanMethods=false) #1345

Closed
@wilkinsona

Description

@wilkinsona

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 is o.s.b.a.s.RedisSessionConfiguration$SpringBootRedisHttpSessionConfiguration which is a subclass of o.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?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions