Class NativeUtil
java.lang.Object
org.flowable.common.engine.impl.util.NativeUtil
A util for detecting a GraalVM native environment.
This is inspired by the Spring
NativeDetector- Author:
- Filip Hrisafov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanReturnstrueif running in a native image context (for examplebuildtime,runtime, oragent) expressed by setting theorg.graalvm.nativeimage.imagecodesystem property to any value.
-
Constructor Details
-
NativeUtil
public NativeUtil()
-
-
Method Details
-
inNativeImage
public static boolean inNativeImage()Returnstrueif running in a native image context (for examplebuildtime,runtime, oragent) expressed by setting theorg.graalvm.nativeimage.imagecodesystem property to any value.
-