public abstract class RhinoEngine extends Object
| Constructor and Description |
|---|
RhinoEngine() |
| Modifier and Type | Method and Description |
|---|---|
static void |
destroy()
Destroys the Rhino engine.
|
static Context |
getThreadLocalRuntimeContext()
Creates a Javascript Context which is thread local.
|
static Scriptable |
getTopLevelScope()
Gets this engine's top level scope.
|
static void |
setTopLevelScope(ScriptableObject scriptableObject)
Sets the top level scope from the given global object.
|
public static Context getThreadLocalRuntimeContext()
public static void destroy()
public static Scriptable getTopLevelScope()
public static void setTopLevelScope(ScriptableObject scriptableObject)
scriptableObject - a scriptable object. This object
is registered as a global object, with all other
JavaScript global objects.Copyright © 2010 - 2020 Adobe. All Rights Reserved