|
66 | 66 | }),
|
67 | 67 | @TypeHint(access = AccessBits.CLASS | AccessBits.PUBLIC_METHODS,
|
68 | 68 | types = {
|
| 69 | + org.springframework.beans.factory.config.BeanExpressionContext.class, |
| 70 | + org.springframework.integration.config.ConsumerEndpointFactoryBean.class, |
| 71 | + org.springframework.integration.context.IntegrationContextUtils.class, |
69 | 72 | org.springframework.integration.xml.xpath.XPathUtils.class,
|
70 | 73 | org.springframework.integration.json.JsonPathUtils.class,
|
71 | 74 | com.jayway.jsonpath.JsonPath.class,
|
72 | 75 | org.springframework.integration.gateway.MethodArgsHolder.class,
|
73 | 76 | org.springframework.integration.routingslip.ExpressionEvaluatingRoutingSlipRouteStrategy.RequestAndReply.class,
|
74 |
| - org.springframework.integration.core.Pausable.class |
| 77 | + org.springframework.integration.core.Pausable.class, |
| 78 | + org.springframework.integration.annotation.ServiceActivator.class, |
| 79 | + org.springframework.integration.annotation.Splitter.class, |
| 80 | + org.springframework.integration.annotation.Transformer.class, |
| 81 | + org.springframework.integration.annotation.Router.class, |
| 82 | + org.springframework.integration.annotation.Filter.class, |
| 83 | + org.springframework.integration.annotation.BridgeFrom.class, |
| 84 | + org.springframework.integration.annotation.BridgeTo.class, |
| 85 | + org.springframework.integration.annotation.Aggregator.class, |
| 86 | + org.springframework.integration.annotation.Gateway.class, |
| 87 | + org.springframework.integration.annotation.GatewayHeader.class, |
| 88 | + org.springframework.integration.annotation.InboundChannelAdapter.class, |
| 89 | + org.springframework.integration.annotation.Poller.class, |
| 90 | + org.springframework.integration.annotation.Publisher.class |
75 | 91 | })
|
76 | 92 | },
|
77 | 93 | serializables = {
|
|
127 | 143 | @TypeHint(
|
128 | 144 | types = {
|
129 | 145 | org.springframework.integration.core.GenericSelector.class,
|
130 |
| - org.springframework.messaging.support.GenericMessage.class, |
131 | 146 | org.springframework.integration.transformer.GenericTransformer.class,
|
132 | 147 | org.springframework.integration.handler.GenericHandler.class,
|
133 | 148 | java.util.function.Function.class,
|
@@ -187,8 +202,7 @@ public List<HintDeclaration> computeHints(TypeSystem typeSystem) {
|
187 | 202 | hints.addAll(computeMessagingGatewayHints(typeSystem));
|
188 | 203 | hints.addAll(computeAbstractEndpointHints(typeSystem));
|
189 | 204 | hints.addAll(computeIntegrationNodeHints(typeSystem));
|
190 |
| - // TODO Fails with 'Unable to find class file for org/springframework/web/server/WebFilter' on 'spring-aot-maven-plugin:test-generate' |
191 |
| - // hints.addAll(computeMessageHints(typeSystem)); |
| 205 | + hints.addAll(computeMessageHints(typeSystem)); |
192 | 206 | return hints;
|
193 | 207 | }
|
194 | 208 |
|
@@ -244,7 +258,7 @@ private static List<HintDeclaration> computeMessageHints(TypeSystem typeSystem)
|
244 | 258 | .skipMethodInspection()
|
245 | 259 | .skipFieldInspection()
|
246 | 260 | .skipConstructorInspection()
|
247 |
| - .filter(type -> type.implementsInterface(MESSAGE_TYPE)) |
| 261 | + .filter(type -> type.implementsInterface(MESSAGE_TYPE, true)) |
248 | 262 | .onTypeDiscovered((type, context) ->
|
249 | 263 | context.addReflectiveAccess(type,
|
250 | 264 | new AccessDescriptor(AccessBits.CLASS | AccessBits.PUBLIC_METHODS)))
|
|
0 commit comments