public class RhinoContextFactory
extends org.mozilla.javascript.ContextFactory
Modifier and Type | Field and Description |
---|---|
protected int |
timeLimit |
Constructor and Description |
---|
RhinoContextFactory(int timeLimit) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
doTopCall(org.mozilla.javascript.Callable callable,
org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
org.mozilla.javascript.Scriptable thisObj,
java.lang.Object[] args) |
protected org.mozilla.javascript.Context |
makeContext() |
protected void |
observeInstructionCount(org.mozilla.javascript.Context cx,
int instructionCount) |
addListener, call, checkNotSealed, createClassLoader, enter, enterContext, enterContext, exit, getApplicationClassLoader, getE4xImplementationFactory, getGlobal, getGlobalSetter, hasExplicitGlobal, hasFeature, initApplicationClassLoader, initGlobal, isSealed, onContextCreated, onContextReleased, removeListener, seal
protected org.mozilla.javascript.Context makeContext()
makeContext
in class org.mozilla.javascript.ContextFactory
protected void observeInstructionCount(org.mozilla.javascript.Context cx, int instructionCount)
observeInstructionCount
in class org.mozilla.javascript.ContextFactory
protected java.lang.Object doTopCall(org.mozilla.javascript.Callable callable, org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope, org.mozilla.javascript.Scriptable thisObj, java.lang.Object[] args)
doTopCall
in class org.mozilla.javascript.ContextFactory