Package com.killcoding.jsplus
Class GraalVmContext
java.lang.Object
com.killcoding.jsplus.JsPlusContext
com.killcoding.jsplus.GraalVmContext
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.graalvm.polyglot.Contextprivate org.graalvm.polyglot.Engineprivate org.graalvm.polyglot.ValueFields inherited from class com.killcoding.jsplus.JsPlusContext
allowAllAccess, engineName, lib, log, scriptCipherAesKey -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()evalScript(String script) org.graalvm.polyglot.Contextorg.graalvm.polyglot.EnginevoidvoidvoidvoidMethods inherited from class com.killcoding.jsplus.JsPlusContext
isAllowAllAccess, isGraalJs, isNashornJs, setAllowAllAccess, setScriptCipherAesKey
-
Field Details
-
engine
-
context
-
value
-
-
Constructor Details
-
GraalVmContext
-
-
Method Details
-
getEngineName
- Specified by:
getEngineNamein classJsPlusContext
-
initScriptEngineManager
- Specified by:
initScriptEngineManagerin classJsPlusContext- Throws:
Exception
-
getBindings
- Specified by:
getBindingsin classJsPlusContext
-
getEngine
- Specified by:
getEnginein classJsPlusContext
-
getContext
- Specified by:
getContextin classJsPlusContext
-
remove
- Specified by:
removein classJsPlusContext
-
get
- Specified by:
getin classJsPlusContext
-
put
- Specified by:
putin classJsPlusContext
-
initScriptEngineManager
- Specified by:
initScriptEngineManagerin classJsPlusContext- Throws:
Exception
-
eval
- Specified by:
evalin classJsPlusContext- Throws:
Exception
-
eval
- Specified by:
evalin classJsPlusContext- Throws:
Exception
-
evalScript
- Specified by:
evalScriptin classJsPlusContext- Throws:
Exception
-
close
- Specified by:
closein classJsPlusContext
-