|
43 | 43 | */
|
44 | 44 | public class DataRuntimeHints implements RuntimeHintsRegistrar {
|
45 | 45 |
|
46 |
| - /* |
47 |
| - NativeHint(trigger = MappingContext.class, |
48 |
| - types = { |
49 |
| - @TypeHint(types = { |
50 |
| - RepositoryFactoryBeanSupport.class, |
51 |
| - RepositoryFragmentsFactoryBean.class, |
52 |
| - RepositoryFragment.class, |
53 |
| - TransactionalRepositoryFactoryBeanSupport.class, |
54 |
| - QueryByExampleExecutor.class, |
55 |
| - MappingContext.class, |
56 |
| - RepositoryMetadata.class, |
57 |
| - RepositoryMetadata.class, |
58 |
| - }), |
59 |
| - @TypeHint(types = {ReadingConverter.class, WritingConverter.class}), |
60 |
| - @TypeHint(types = {Properties.class, BeanFactory.class, InputStreamSource[].class}), |
61 |
| - @TypeHint(types = Throwable.class, access = { TypeAccess.DECLARED_CONSTRUCTORS, TypeAccess.DECLARED_FIELDS}), |
62 |
| - @TypeHint(typeNames = { |
63 |
| - "org.springframework.data.projection.SpelEvaluatingMethodInterceptor$TargetWrapper", |
64 |
| - }, access = { TypeAccess.DECLARED_CONSTRUCTORS, TypeAccess.DECLARED_METHODS, TypeAccess.PUBLIC_METHODS }) |
65 |
| - }, |
66 |
| - jdkProxies = @JdkProxyHint(typeNames = { |
67 |
| - "org.springframework.data.annotation.QueryAnnotation", |
68 |
| - "org.springframework.core.annotation.SynthesizedAnnotation" } |
69 |
| - ), |
70 |
| - initialization = @InitializationHint(types = AbstractMappingContext.class, initTime = InitializationTime.BUILD) |
71 |
| - ) |
72 |
| - */ |
73 |
| - |
74 | 46 | @Override
|
75 | 47 | public void registerHints(RuntimeHints hints, @Nullable ClassLoader classLoader) {
|
76 | 48 |
|
@@ -99,7 +71,5 @@ public void registerHints(RuntimeHints hints, @Nullable ClassLoader classLoader)
|
99 | 71 |
|
100 | 72 | hints.proxies().registerJdkProxy(TypeReference.of("org.springframework.data.annotation.QueryAnnotation"),
|
101 | 73 | TypeReference.of("org.springframework.core.annotation.SynthesizedAnnotation"));
|
102 |
| - |
103 |
| - hints.proxies().registerJdkProxy(TypeReference.of(AuditorAware.class), TypeReference.of(SpringProxy.class), TypeReference.of(Advised.class), TypeReference.of(DecoratingProxy.class)); |
104 | 74 | }
|
105 | 75 | }
|
0 commit comments