|
15 | 15 | */ |
16 | 16 | package org.springframework.boot.actuate.autoconfigure.endpoint.web.servlet; |
17 | 17 |
|
18 | | -import org.springframework.boot.actuate.autoconfigure.endpoint.web.CorsEndpointProperties; |
19 | 18 | import org.springframework.boot.actuate.autoconfigure.web.ManagementContextConfiguration; |
20 | 19 | import org.springframework.boot.actuate.autoconfigure.web.ManagementContextFactory; |
21 | 20 | import org.springframework.boot.actuate.autoconfigure.web.ManagementContextType; |
22 | 21 | import org.springframework.boot.actuate.autoconfigure.web.server.ManagementPortType; |
23 | 22 | import org.springframework.boot.actuate.endpoint.web.EndpointMediaTypes; |
24 | | -import org.springframework.boot.actuate.endpoint.web.PathMappedEndpoints; |
25 | 23 | import org.springframework.boot.actuate.endpoint.web.PathMapper; |
26 | 24 | import org.springframework.boot.actuate.endpoint.web.ServletEndpointRegistrar; |
27 | 25 | import org.springframework.boot.actuate.endpoint.web.WebEndpointsSupplier; |
28 | 26 | import org.springframework.boot.actuate.endpoint.web.annotation.EndpointWebExtension; |
29 | 27 | import org.springframework.boot.actuate.endpoint.web.annotation.WebEndpoint; |
30 | 28 | import org.springframework.boot.actuate.endpoint.web.annotation.WebEndpointDiscoverer; |
31 | | -import org.springframework.boot.actuate.logging.LogFileWebEndpoint; |
32 | | -import org.springframework.boot.actuate.management.HeapDumpWebEndpoint; |
33 | | -import org.springframework.boot.actuate.trace.http.HttpTraceEndpoint; |
34 | 29 | import org.springframework.boot.actuate.trace.http.HttpTraceRepository; |
35 | 30 | import org.springframework.graalvm.extension.TypeInfo; |
| 31 | +import org.springframework.graalvm.type.AccessBits; |
36 | 32 |
|
37 | 33 | /** |
38 | 34 | * Example... this could host @TypeInfo annotations that any other @NativeImageHint could pull in |
|
41 | 37 | * @author Andy Clement |
42 | 38 | */ |
43 | 39 | @TypeInfo(types = { |
44 | | - HttpTraceEndpoint.class, |
45 | | - LogFileWebEndpoint.class, |
46 | 40 | ServletEndpointRegistrar.class, |
47 | | - org.springframework.boot.actuate.autoconfigure.web.jersey.JerseySameManagementContextConfiguration.class, |
48 | | - org.springframework.boot.actuate.autoconfigure.web.jersey.JerseyChildManagementContextConfiguration.class, |
49 | 41 | HttpTraceRepository.class, |
50 | 42 | ManagementContextType.class, |
51 | | - HeapDumpWebEndpoint.class, |
52 | 43 | EndpointMediaTypes.class, |
53 | | - PathMappedEndpoints.class, |
54 | 44 | WebEndpointsSupplier.class, |
55 | | - CorsEndpointProperties.class, |
56 | 45 | EndpointWebExtension.class, |
57 | 46 | WebEndpoint.class, |
58 | 47 | WebEndpointDiscoverer.class, |
|
64 | 53 | ManagementPortType.class, |
65 | 54 | }, typeNames = { |
66 | 55 | "org.springframework.boot.actuate.autoconfigure.web.server.EnableManagementContext", |
67 | | - "org.springframework.boot.actuate.autoconfigure.web.server.ManagementContextAutoConfiguration$SameManagementContextConfiguration", |
68 | | - "org.springframework.boot.actuate.autoconfigure.endpoint.web.jersey.JerseyWebEndpointManagementContextConfiguration", |
69 | | - "org.springframework.boot.actuate.autoconfigure.endpoint.web.MappingWebEndpointPathMapper", |
70 | 56 | "org.springframework.boot.actuate.endpoint.web.annotation.WebEndpointFilter", |
71 | | - }) |
| 57 | + },access=AccessBits.LOAD_AND_CONSTRUCT|AccessBits.PUBLIC_METHODS) |
72 | 58 | public class CommonWebActuatorTypes { |
73 | 59 | } |
0 commit comments