Class NativeDetector

java.lang.Object
org.springframework.core.NativeDetector

public abstract class NativeDetector extends Object
A common delegate for detecting a GraalVM native image environment.
Since:
5.3.4
Author:
Sebastien Deleuze
  • Constructor Details

    • NativeDetector

      public NativeDetector()
  • Method Details

    • inNativeImage

      public static boolean inNativeImage()
      Returns true if invoked in the context of image building or during image runtime, else false.