|
16 | 16 | package org.springframework.boot.actuate.autoconfigure.endpoint.web.reactive; |
17 | 17 |
|
18 | 18 | import org.springframework.boot.actuate.autoconfigure.endpoint.web.servlet.CommonWebActuatorTypes; |
19 | | -import org.springframework.boot.actuate.autoconfigure.web.reactive.ReactiveManagementChildContextConfiguration; |
20 | | -import org.springframework.boot.actuate.endpoint.web.reactive.AbstractWebFluxEndpointHandlerMapping; |
21 | | -import org.springframework.boot.actuate.endpoint.web.reactive.ControllerEndpointHandlerMapping; |
22 | | -import org.springframework.boot.actuate.endpoint.web.reactive.WebFluxEndpointHandlerMapping; |
23 | | -import org.springframework.boot.actuate.metrics.web.reactive.client.DefaultWebClientExchangeTagsProvider; |
24 | | -import org.springframework.boot.actuate.metrics.web.reactive.client.MetricsWebClientCustomizer; |
25 | | -import org.springframework.boot.actuate.metrics.web.reactive.client.WebClientExchangeTagsProvider; |
26 | | -import org.springframework.boot.actuate.metrics.web.reactive.server.DefaultWebFluxTagsProvider; |
27 | | -import org.springframework.boot.actuate.metrics.web.reactive.server.MetricsWebFilter; |
28 | | -import org.springframework.boot.actuate.metrics.web.reactive.server.WebFluxTagsProvider; |
29 | 19 | import org.springframework.graalvm.extension.NativeImageConfiguration; |
30 | 20 | import org.springframework.graalvm.extension.NativeImageHint; |
31 | 21 | import org.springframework.graalvm.extension.TypeInfo; |
| 22 | +import org.springframework.graalvm.type.AccessBits; |
32 | 23 | import org.springframework.graalvm.type.TypeSystem; |
33 | 24 |
|
34 | 25 |
|
35 | 26 | @NativeImageHint(trigger=WebFluxEndpointManagementContextConfiguration.class, |
36 | 27 | importInfos = { CommonWebActuatorTypes.class}, |
37 | 28 | typeInfos = { |
38 | | - @TypeInfo(types = { |
39 | | - AbstractWebFluxEndpointHandlerMapping.class, |
40 | | - ControllerEndpointHandlerMapping.class, |
41 | | - DefaultWebClientExchangeTagsProvider.class, |
42 | | - WebClientExchangeTagsProvider.class, |
43 | | - MetricsWebFilter.class, |
44 | | - DefaultWebFluxTagsProvider.class, |
45 | | - WebFluxTagsProvider.class, |
46 | | - MetricsWebClientCustomizer.class |
47 | | - }, typeNames = { |
48 | | - "org.springframework.boot.actuate.endpoint.web.reactive.ControllerEndpointHandlerMapping", |
49 | | - "org.springframework.boot.actuate.endpoint.web.reactive.AbstractWebFluxEndpointHandlerMapping", |
| 29 | + @TypeInfo( |
| 30 | +// types = { |
| 31 | +// AbstractWebFluxEndpointHandlerMapping.class, |
| 32 | +// ControllerEndpointHandlerMapping.class, |
| 33 | +// DefaultWebClientExchangeTagsProvider.class, |
| 34 | +// WebClientExchangeTagsProvider.class, |
| 35 | +// MetricsWebFilter.class, |
| 36 | +// DefaultWebFluxTagsProvider.class, |
| 37 | +// WebFluxTagsProvider.class, |
| 38 | +// MetricsWebClientCustomizer.class |
| 39 | +// }, |
| 40 | + typeNames = { |
| 41 | +// "org.springframework.boot.actuate.endpoint.web.reactive.ControllerEndpointHandlerMapping", |
| 42 | +// "org.springframework.boot.actuate.endpoint.web.reactive.AbstractWebFluxEndpointHandlerMapping", |
50 | 43 | "org.springframework.boot.actuate.endpoint.web.reactive.WebFluxEndpointHandlerMapping$WebFluxLinksHandler", |
51 | 44 | "org.springframework.boot.actuate.endpoint.web.reactive.AbstractWebFluxEndpointHandlerMapping$LinksHandler", |
52 | 45 | "org.springframework.boot.actuate.endpoint.web.reactive.AbstractWebFluxEndpointHandlerMapping$ReadOperationHandler", |
53 | 46 | "org.springframework.boot.actuate.autoconfigure.web.reactive.ReactiveManagementChildContextConfiguration", |
54 | 47 | "org.springframework.boot.actuate.endpoint.web.reactive.AbstractWebFluxEndpointHandlerMapping$WriteOperationHandler", |
55 | 48 | "org.springframework.boot.actuate.autoconfigure.web.reactive.ReactiveManagementContextFactory", |
56 | | - }) |
| 49 | + }, access=AccessBits.LOAD_AND_CONSTRUCT|AccessBits.DECLARED_METHODS) |
57 | 50 | }) |
58 | 51 | public class WebFluxEndpointManagementContextConfigurationHints implements NativeImageConfiguration { |
59 | 52 |
|
|
0 commit comments