File tree Expand file tree Collapse file tree 2 files changed +12
-11
lines changed
spring-integration-core/src/main/java/org/springframework/integration/aot Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -100,13 +100,13 @@ ext {
100
100
servletApiVersion = ' 5.0.0'
101
101
smackVersion = ' 4.4.6'
102
102
springAmqpVersion = project. hasProperty(' springAmqpVersion' ) ? project. springAmqpVersion : ' 3.0.0-SNAPSHOT'
103
- springDataVersion = project. hasProperty(' springDataVersion' ) ? project. springDataVersion : ' 2022.0.0-M6 '
104
- springGraphqlVersion = ' 1.1.0-M1 '
105
- springKafkaVersion = ' 3.0.0-M6 '
106
- springRetryVersion = ' 2.0.0-M1 '
107
- springSecurityVersion = project. hasProperty(' springSecurityVersion' ) ? project. springSecurityVersion : ' 6.0.0-M7 '
108
- springVersion = project. hasProperty(' springVersion' ) ? project. springVersion : ' 6.0.0-M6 '
109
- springWsVersion = ' 4.0.0-M2 '
103
+ springDataVersion = project. hasProperty(' springDataVersion' ) ? project. springDataVersion : ' 2022.0.0-SNAPSHOT '
104
+ springGraphqlVersion = ' 1.1.0-SNAPSHOT '
105
+ springKafkaVersion = ' 3.0.0-SNAPSHOT '
106
+ springRetryVersion = ' 2.0.0-SNAPSHOT '
107
+ springSecurityVersion = project. hasProperty(' springSecurityVersion' ) ? project. springSecurityVersion : ' 6.0.0-SNAPSHOT '
108
+ springVersion = project. hasProperty(' springVersion' ) ? project. springVersion : ' 6.0.0-SNAPSHOT '
109
+ springWsVersion = ' 4.0.0-SNAPSHOT '
110
110
testcontainersVersion = ' 1.17.3'
111
111
tomcatVersion = ' 10.0.23'
112
112
xmlUnitVersion = ' 2.9.0'
Original file line number Diff line number Diff line change 26
26
import org .springframework .beans .factory .aot .BeanRegistrationAotProcessor ;
27
27
import org .springframework .beans .factory .aot .BeanRegistrationCode ;
28
28
import org .springframework .beans .factory .aot .BeanRegistrationCodeFragments ;
29
+ import org .springframework .beans .factory .aot .BeanRegistrationCodeFragmentsDecorator ;
29
30
import org .springframework .beans .factory .support .RegisteredBean ;
30
31
import org .springframework .beans .factory .support .RootBeanDefinition ;
31
32
import org .springframework .core .DecoratingProxy ;
@@ -45,15 +46,15 @@ class GatewayProxyBeanRegistrationAotProcessor implements BeanRegistrationAotPro
45
46
public BeanRegistrationAotContribution processAheadOfTime (RegisteredBean registeredBean ) {
46
47
if (GatewayProxyFactoryBean .class .isAssignableFrom (registeredBean .getBeanClass ())) {
47
48
return BeanRegistrationAotContribution
48
- .ofBeanRegistrationCodeFragmentsCustomizer (GatewayProxyBeanRegistrationCodeFragments ::new );
49
+ .withCustomCodeFragments (GatewayProxyBeanRegistrationCodeFragments ::new );
49
50
}
50
51
return null ;
51
52
}
52
53
53
- private static class GatewayProxyBeanRegistrationCodeFragments extends BeanRegistrationCodeFragments {
54
+ private static class GatewayProxyBeanRegistrationCodeFragments extends BeanRegistrationCodeFragmentsDecorator {
54
55
55
- GatewayProxyBeanRegistrationCodeFragments (BeanRegistrationCodeFragments codeFragments ) {
56
- super (codeFragments );
56
+ GatewayProxyBeanRegistrationCodeFragments (BeanRegistrationCodeFragments delegate ) {
57
+ super (delegate );
57
58
}
58
59
59
60
@ Override
You can’t perform that action at this time.
0 commit comments