|
1 | 1 | /* |
2 | | - * Copyright 2019-2022 the original author or authors. |
| 2 | + * Copyright 2019-2025 the original author or authors. |
3 | 3 | * |
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
5 | 5 | * you may not use this file except in compliance with the License. |
|
31 | 31 | import org.springframework.beans.factory.aot.BeanFactoryInitializationAotProcessor; |
32 | 32 | import org.springframework.beans.factory.aot.BeanFactoryInitializationCode; |
33 | 33 | import org.springframework.beans.factory.config.ConfigurableListableBeanFactory; |
34 | | -import org.springframework.boot.http.client.ClientHttpRequestFactorySettings; |
35 | | -import org.springframework.boot.web.server.Ssl; |
36 | | -import org.springframework.boot.web.server.Ssl.ServerNameSslBundle; |
37 | 34 | import org.springframework.cloud.function.context.catalog.FunctionTypeUtils; |
38 | 35 | import org.springframework.cloud.function.context.config.FunctionContextUtils; |
39 | 36 | import org.springframework.cloud.function.context.message.MessageUtils; |
@@ -108,15 +105,6 @@ public void applyTo(GenerationContext generationContext, BeanFactoryInitializati |
108 | 105 | // known static types |
109 | 106 | runtimeHints.reflection().registerType(MessageUtils.MessageStructureWithCaseInsensitiveHeaderKeys.class, |
110 | 107 | MemberCategory.INVOKE_PUBLIC_METHODS); |
111 | | - |
112 | | - |
113 | | - // temporary due to bug in boot |
114 | | - runtimeHints.reflection().registerType(ClientHttpRequestFactorySettings.class, |
115 | | - MemberCategory.INVOKE_PUBLIC_METHODS); |
116 | | - runtimeHints.reflection().registerType(Ssl.class, |
117 | | - MemberCategory.INVOKE_PUBLIC_METHODS); |
118 | | - runtimeHints.reflection().registerType(ServerNameSslBundle.class, |
119 | | - MemberCategory.INVOKE_PUBLIC_METHODS); |
120 | 108 | } |
121 | 109 |
|
122 | 110 | } |
|
0 commit comments