| Package | Description |
|---|---|
| org.jaggeryjs.scriptengine.cache | |
| org.jaggeryjs.scriptengine.engine | |
| org.jaggeryjs.scriptengine.security | |
| org.jaggeryjs.scriptengine.util |
| Modifier and Type | Method and Description |
|---|---|
void |
CacheManager.cacheScript(Reader scriptReader,
ScriptCachingContext sctx) |
org.mozilla.javascript.Script |
CachingContext.getScript() |
org.mozilla.javascript.Script |
CacheManager.getScriptObject(Reader scriptReader,
ScriptCachingContext sctx) |
void |
CacheManager.invalidateCache(ScriptCachingContext sctx) |
| Modifier and Type | Method and Description |
|---|---|
Object |
RhinoEngine.call(Reader scriptReader,
String funcName,
Object[] args,
org.mozilla.javascript.ScriptableObject thiz,
org.mozilla.javascript.ScriptableObject scope,
ScriptCachingContext sctx)
Executes a particular JavaScript function from a script on the specified scope and returns the result.
|
Object |
RhinoEngine.call(Reader scriptReader,
String funcName,
Object[] args,
org.mozilla.javascript.ScriptableObject thiz,
ScriptCachingContext sctx)
Executes a particular JavaScript function from a script on a clone of engine's scope and returns the result.
|
Object |
RhinoEngine.call(Reader scriptReader,
String funcName,
Object[] args,
ScriptCachingContext sctx)
Executes a particular JavaScript function from a script on a clone of engine's scope and returns the result.
|
static void |
RhinoTopLevel.clearInterval(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj) |
static void |
RhinoTopLevel.clearInterval(String taskId) |
static void |
RhinoTopLevel.clearTimeout(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj) |
static void |
RhinoTopLevel.clearTimeout(String taskId) |
static void |
RhinoEngine.defineHostObject(org.mozilla.javascript.ScriptableObject scope,
JavaScriptHostObject hostObject)
This method registers a hostobject in the given scope.
|
static void |
RhinoEngine.defineMethod(org.mozilla.javascript.ScriptableObject scope,
JavaScriptMethod method)
This method registers the given method in the specified scope.
|
Object |
RhinoEngine.eval(Reader scriptReader,
org.mozilla.javascript.ScriptableObject scope,
ScriptCachingContext sctx)
Evaluates the specified script and the result is returned.
|
Object |
RhinoEngine.eval(Reader scriptReader,
ScriptCachingContext sctx)
Evaluates the specified script and the result is returned.
|
void |
RhinoEngine.exec(Reader scriptReader,
org.mozilla.javascript.ScriptableObject scope,
ScriptCachingContext sctx)
Executes the script on the specified scope.
|
org.mozilla.javascript.ScriptableObject |
RhinoEngine.exec(Reader scriptReader,
ScriptCachingContext sctx)
Executes the script on a clone of the engine scope and the scope is returned.
|
static void |
RhinoTopLevel.exit(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj) |
Method |
JavaScriptMethod.getMethod() |
org.mozilla.javascript.ScriptableObject |
RhinoEngine.getRuntimeScope()
This clones the engine scope and returns.
|
static Object |
RhinoTopLevel.parse(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj) |
static String |
RhinoTopLevel.setInterval(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj) |
static String |
RhinoTopLevel.setTimeout(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj) |
static String |
RhinoTopLevel.stringify(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj) |
static Object |
RhinoTopLevel.sync(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj)
The sync function creates a synchronized function (in the sense
of a Java synchronized method) from an existing function.
|
| Modifier and Type | Method and Description |
|---|---|
CodeSource |
RhinoURISecurityDomain.getCodeSource() |
CodeSource |
RhinoSecurityDomain.getCodeSource() |
| Modifier and Type | Method and Description |
|---|---|
static void |
HostObjectUtil.getReservedHostObjectWarn(String object) |
static void |
HostObjectUtil.invalidArgsError(String object,
String function,
String index,
String required,
Object provided,
boolean constructor) |
static void |
HostObjectUtil.invalidNumberOfArgs(String object,
String function,
int size,
boolean constructor) |
static void |
HostObjectUtil.invalidProperty(String object,
String property,
String required,
Object provided) |
static String |
HostObjectUtil.readerToString(Reader reader) |
static String |
HostObjectUtil.streamToString(InputStream is) |
Copyright © 2015 WSO2 Inc. All rights reserved.