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 boolean
Returnstrue
if running in a native image context (for examplebuildtime
,runtime
, oragent
) expressed by setting theorg.graalvm.nativeimage.imagecode
system property to any value.
-
Constructor Details
-
NativeUtil
public NativeUtil()
-
-
Method Details
-
inNativeImage
public static boolean inNativeImage()Returnstrue
if running in a native image context (for examplebuildtime
,runtime
, oragent
) expressed by setting theorg.graalvm.nativeimage.imagecode
system property to any value.
-