File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
java/org/springframework/data/keyvalue/aot
resources/META-INF/spring Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 27
27
import org .springframework .lang .Nullable ;
28
28
29
29
/**
30
+ * {@link RuntimeHintsRegistrar} for KeyValue.
31
+ *
30
32
* @author Christoph Strobl
31
33
* @since 3.0
32
34
*/
33
- public class DataKeyValueRuntimeHints implements RuntimeHintsRegistrar {
35
+ class KeyValueRuntimeHints implements RuntimeHintsRegistrar {
34
36
35
37
@ Override
36
38
public void registerHints (RuntimeHints hints , @ Nullable ClassLoader classLoader ) {
37
39
38
40
// REFLECTION
39
- hints .reflection ()
40
- .registerTypes (Arrays .asList (TypeReference .of (org .springframework .data .keyvalue .repository .support .SimpleKeyValueRepository .class ),
41
- TypeReference .of (KeyValuePartTreeQuery .class )),
42
- hint -> hint .withMembers (MemberCategory .INVOKE_DECLARED_CONSTRUCTORS , MemberCategory .INVOKE_DECLARED_METHODS ));
41
+ hints .reflection ().registerTypes (
42
+ Arrays .asList (
43
+ TypeReference .of (org .springframework .data .keyvalue .repository .support .SimpleKeyValueRepository .class ),
44
+ TypeReference .of (KeyValuePartTreeQuery .class )),
45
+ hint -> hint .withMembers (MemberCategory .INVOKE_DECLARED_CONSTRUCTORS , MemberCategory .INVOKE_DECLARED_METHODS ));
43
46
44
47
// PROXIES
45
48
RuntimeHintsUtils .registerAnnotation (hints , KeySpace .class );
Original file line number Diff line number Diff line change 1
1
org.springframework.aot.hint.RuntimeHintsRegistrar=\
2
- org.springframework.data.keyvalue.aot.DataKeyValueRuntimeHints
2
+ org.springframework.data.keyvalue.aot.KeyValueRuntimeHints
You can’t perform that action at this time.
0 commit comments