Add native image runtime hints.

We provide an initial set of runtime hints required to spin up data repositories on GraalVM native image.
Additionally we skip synthetic types during type inspection.

Original Pull Request: #2624
This commit is contained in:
Christoph Strobl
2022-06-07 14:33:39 +02:00
parent d8118de90f
commit 0262380d29
14 changed files with 220 additions and 62 deletions

View File

@@ -15,6 +15,9 @@
*/
package org.springframework.data.mapping.callback;
import org.springframework.aot.hint.annotation.Reflective;
import org.springframework.data.aot.PublicMethodReflectiveProcessor;
/**
* Marker interface for entity callbacks to be implemented in specific callback subtypes. Intended for internal usage
* within store specific implementations.
@@ -59,6 +62,7 @@ package org.springframework.data.mapping.callback;
* @see org.springframework.core.Ordered
* @see org.springframework.core.annotation.Order
*/
@Reflective({PublicMethodReflectiveProcessor.class})
public interface EntityCallback<T> {
}