Package org.springframework.aot.hint
Class RuntimeHints
java.lang.Object
org.springframework.aot.hint.RuntimeHints
Gather hints that can be used to optimize the application runtime.
Use of reflection can be recorded for individual members of a type, as well as broader member categories. Access to resources can be specified using patterns or the base name of a resource bundle.
Hints that require the need for Java serialization of proxies can be recorded as well.
- Since:
- 6.0
- Author:
- Stephane Nicoll, Janne Valkealahti
-
Constructor Details
-
RuntimeHints
public RuntimeHints()
-
-
Method Details
-
reflection
Provide access to reflection-based hints.- Returns:
- reflection hints
-
resources
Provide access to resource-based hints.- Returns:
- resource hints
-
serialization
Provide access to serialization-based hints.- Returns:
- serialization hints
-
proxies
Provide access to proxy-based hints.- Returns:
- proxy hints
-
jni
Provide access to jni-based hints.- Returns:
- jni hints
-