| Modifier and Type | Field and Description |
|---|---|
| public static final String | AOT_ENABLED
System property that indicates the application should run with AOT generated artifacts. |
| private static final boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | Returns: whether AOT optimizations must be consideredDetermine whether AOT optimizations must be considered at runtime. |
| AOT_ENABLED | back to summary |
|---|---|
| public static final String AOT_ENABLED System property that indicates the application should run with AOT generated artifacts. If such optimizations are not available, it is recommended to throw an exception rather than fall back to the regular runtime behavior. | |
| inNativeImage | back to summary |
|---|---|
| private static final boolean inNativeImage | |
| AotDetector | back to summary |
|---|---|
| public AotDetector() | |
| useGeneratedArtifacts | back to summary |
|---|---|
| public static boolean useGeneratedArtifacts() Determine whether AOT optimizations must be considered at runtime. This is mandatory in a native image but can be triggered on the JVM using the spring.aot.enabled Spring property.
| |