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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionProvide access to serialization-based hints.proxies()
Provide access to proxy-based hints.Provide access to reflection-based hints.Provide access to resource-based hints.
-
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
-
javaSerialization
Provide access to serialization-based hints.- Returns:
- java serialization hints
-
proxies
Provide access to proxy-based hints.- Returns:
- proxy hints
-