Skip to content

Commit 53f2966

Browse files
committed
Merge branch '2.2.x' into 2.3.x
Closes gh-23305
2 parents 2ee22d5 + 5d20660 commit 53f2966

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/security/servlet/SecurityRequestMatchersManagementContextConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -40,7 +40,7 @@
4040
* @author Madhura Bhave
4141
* @since 2.1.8
4242
*/
43-
@ManagementContextConfiguration
43+
@ManagementContextConfiguration(proxyBeanMethods = false)
4444
@ConditionalOnClass({ RequestMatcher.class })
4545
@ConditionalOnWebApplication(type = ConditionalOnWebApplication.Type.SERVLET)
4646
public class SecurityRequestMatchersManagementContextConfiguration {

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/ManagementContextConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -46,7 +46,7 @@
4646
@Target(ElementType.TYPE)
4747
@Retention(RetentionPolicy.RUNTIME)
4848
@Documented
49-
@Configuration(proxyBeanMethods = false)
49+
@Configuration
5050
public @interface ManagementContextConfiguration {
5151

5252
/**

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/jersey/JerseyChildManagementContextConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -34,7 +34,7 @@
3434
* @author Madhura Bhave
3535
* @since 2.1.0
3636
*/
37-
@ManagementContextConfiguration(ManagementContextType.CHILD)
37+
@ManagementContextConfiguration(value = ManagementContextType.CHILD, proxyBeanMethods = false)
3838
@Import(JerseyManagementContextConfiguration.class)
3939
@ConditionalOnWebApplication(type = ConditionalOnWebApplication.Type.SERVLET)
4040
@ConditionalOnClass(ResourceConfig.class)

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/jersey/JerseySameManagementContextConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -37,7 +37,7 @@
3737
* @author Madhura Bhave
3838
* @since 2.1.0
3939
*/
40-
@ManagementContextConfiguration(ManagementContextType.SAME)
40+
@ManagementContextConfiguration(value = ManagementContextType.SAME, proxyBeanMethods = false)
4141
@Import(JerseyManagementContextConfiguration.class)
4242
@EnableConfigurationProperties(JerseyProperties.class)
4343
@ConditionalOnMissingBean(ResourceConfig.class)

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/reactive/ReactiveManagementChildContextConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
* @since 2.0.0
4646
*/
4747
@EnableWebFlux
48-
@ManagementContextConfiguration(ManagementContextType.CHILD)
48+
@ManagementContextConfiguration(value = ManagementContextType.CHILD, proxyBeanMethods = false)
4949
@ConditionalOnWebApplication(type = Type.REACTIVE)
5050
public class ReactiveManagementChildContextConfiguration {
5151

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/servlet/ServletManagementChildContextConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -69,7 +69,7 @@
6969
* @author Eddú Meléndez
7070
* @author Phillip Webb
7171
*/
72-
@ManagementContextConfiguration(ManagementContextType.CHILD)
72+
@ManagementContextConfiguration(value = ManagementContextType.CHILD, proxyBeanMethods = false)
7373
@ConditionalOnWebApplication(type = Type.SERVLET)
7474
class ServletManagementChildContextConfiguration {
7575

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/servlet/WebMvcEndpointChildContextConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
* @author Andy Wilkinson
4949
* @author Phillip Webb
5050
*/
51-
@ManagementContextConfiguration(ManagementContextType.CHILD)
51+
@ManagementContextConfiguration(value = ManagementContextType.CHILD, proxyBeanMethods = false)
5252
@ConditionalOnWebApplication(type = Type.SERVLET)
5353
@ConditionalOnClass(DispatcherServlet.class)
5454
@EnableWebMvc

0 commit comments

Comments
 (0)