| Package | Description |
|---|---|
| org.jaggeryjs.scriptengine.cache | |
| org.jaggeryjs.scriptengine.engine |
| Modifier and Type | Method and Description |
|---|---|
void |
CacheManager.cacheScript(Reader scriptReader,
ScriptCachingContext sctx) |
CachingContext |
TenantWrapper.getCachingContext(ScriptCachingContext sctx) |
ContextWrapper |
TenantWrapper.getContext(ScriptCachingContext sctx) |
PackageWrapper |
TenantWrapper.getPath(ScriptCachingContext sctx) |
org.mozilla.javascript.Script |
CacheManager.getScriptObject(Reader scriptReader,
ScriptCachingContext sctx) |
void |
CacheManager.invalidateCache(ScriptCachingContext sctx) |
boolean |
CacheManager.isCached(ScriptCachingContext sctx) |
boolean |
CacheManager.isOlder(ScriptCachingContext sctx) |
void |
TenantWrapper.removeCachingContext(ScriptCachingContext sctx) |
void |
TenantWrapper.removePath(ScriptCachingContext sctx) |
void |
TenantWrapper.setContext(ScriptCachingContext sctx,
ContextWrapper ctxWrapper) |
void |
TenantWrapper.setPath(ScriptCachingContext sctx,
PackageWrapper packageWrapper) |
| 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.
|
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.
|
Copyright © 2015 WSO2 Inc. All rights reserved.