Mark Spring web config classes as proxyBeanMethods=false
Closes gh-23004
This commit is contained in:
parent
83078eb6fd
commit
4b8ce04bdc
|
|
@ -37,7 +37,7 @@ import org.springframework.web.reactive.result.method.annotation.ArgumentResolve
|
||||||
* @author Brian Clozel
|
* @author Brian Clozel
|
||||||
* @since 5.0
|
* @since 5.0
|
||||||
*/
|
*/
|
||||||
@Configuration
|
@Configuration(proxyBeanMethods = false)
|
||||||
public class DelegatingWebFluxConfiguration extends WebFluxConfigurationSupport {
|
public class DelegatingWebFluxConfiguration extends WebFluxConfigurationSupport {
|
||||||
|
|
||||||
private final WebFluxConfigurerComposite configurers = new WebFluxConfigurerComposite();
|
private final WebFluxConfigurerComposite configurers = new WebFluxConfigurerComposite();
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ import org.springframework.web.servlet.HandlerExceptionResolver;
|
||||||
* @author Rossen Stoyanchev
|
* @author Rossen Stoyanchev
|
||||||
* @since 3.1
|
* @since 3.1
|
||||||
*/
|
*/
|
||||||
@Configuration
|
@Configuration(proxyBeanMethods = false)
|
||||||
public class DelegatingWebMvcConfiguration extends WebMvcConfigurationSupport {
|
public class DelegatingWebMvcConfiguration extends WebMvcConfigurationSupport {
|
||||||
|
|
||||||
private final WebMvcConfigurerComposite configurers = new WebMvcConfigurerComposite();
|
private final WebMvcConfigurerComposite configurers = new WebMvcConfigurerComposite();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue