Following up on #35293, a convenient annotation next to @Bean
and @Component
is needed for enforcing a bean-specific proxy type (in case of the bean actually getting auto-proxied in the first place), overriding a globally configured default. As of Spring Framework 7.0, @Proxyable
serves that purpose.