Package delight.nashornsandbox.internal
Class NashornDetection
java.lang.Object
delight.nashornsandbox.internal.NashornDetection
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
private static class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SandboxClassFilter
private static Class
<?> static Class
<?> static Object
static boolean
isJDKNashornScriptObjectMirror
(Object script) static boolean
-
Field Details
-
logger
private static final org.slf4j.Logger logger -
JDK_NASHORN_ScriptObjectMirror_CLASS
-
JDK_NASHORN_NashornScriptEngineFactory_CLASS
-
JDK_NASHORN_ClassFilter_CLASS
-
STANDALONE_NASHORN_ScriptObjectMirror_CLASS
-
STANDALONE_NASHORN_NashornScriptEngineFactory_CLASS
-
STANDALONE_NASHORN_ClassFilter_CLASS
-
-
Constructor Details
-
NashornDetection
public NashornDetection()
-
-
Method Details
-
isJDKNashornScriptObjectMirror
-
isStandaloneNashornScriptObjectMirror
-
createSandboxClassFilter
-
getClassFilterClass
-
getNashornScriptEngineFactory
-
findClass
-