Skip to content

Commit 6917663

Browse files
committed
Adapt to the latest SF changes
1 parent 26816a3 commit 6917663

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,13 @@ ext {
100100
servletApiVersion = '5.0.0'
101101
smackVersion = '4.4.6'
102102
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'
110110
testcontainersVersion = '1.17.3'
111111
tomcatVersion = '10.0.23'
112112
xmlUnitVersion = '2.9.0'

spring-integration-core/src/main/java/org/springframework/integration/aot/GatewayProxyBeanRegistrationAotProcessor.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
import org.springframework.beans.factory.aot.BeanRegistrationAotProcessor;
2727
import org.springframework.beans.factory.aot.BeanRegistrationCode;
2828
import org.springframework.beans.factory.aot.BeanRegistrationCodeFragments;
29+
import org.springframework.beans.factory.aot.BeanRegistrationCodeFragmentsDecorator;
2930
import org.springframework.beans.factory.support.RegisteredBean;
3031
import org.springframework.beans.factory.support.RootBeanDefinition;
3132
import org.springframework.core.DecoratingProxy;
@@ -45,15 +46,15 @@ class GatewayProxyBeanRegistrationAotProcessor implements BeanRegistrationAotPro
4546
public BeanRegistrationAotContribution processAheadOfTime(RegisteredBean registeredBean) {
4647
if (GatewayProxyFactoryBean.class.isAssignableFrom(registeredBean.getBeanClass())) {
4748
return BeanRegistrationAotContribution
48-
.ofBeanRegistrationCodeFragmentsCustomizer(GatewayProxyBeanRegistrationCodeFragments::new);
49+
.withCustomCodeFragments(GatewayProxyBeanRegistrationCodeFragments::new);
4950
}
5051
return null;
5152
}
5253

53-
private static class GatewayProxyBeanRegistrationCodeFragments extends BeanRegistrationCodeFragments {
54+
private static class GatewayProxyBeanRegistrationCodeFragments extends BeanRegistrationCodeFragmentsDecorator {
5455

55-
GatewayProxyBeanRegistrationCodeFragments(BeanRegistrationCodeFragments codeFragments) {
56-
super(codeFragments);
56+
GatewayProxyBeanRegistrationCodeFragments(BeanRegistrationCodeFragments delegate) {
57+
super(delegate);
5758
}
5859

5960
@Override

0 commit comments

Comments
 (0)