Package tv.phantombot.script
Class RhinoContextFactory
java.lang.Object
org.mozilla.javascript.ContextFactory
tv.phantombot.script.RhinoContextFactory
public final class RhinoContextFactory
extends org.mozilla.javascript.ContextFactory
Custom Rhino ContextFactory
- Author:
- sartharon
-
Nested Class Summary
Nested classes/interfaces inherited from class org.mozilla.javascript.ContextFactory
org.mozilla.javascript.ContextFactory.GlobalSetter, org.mozilla.javascript.ContextFactory.Listener -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanhasFeature(org.mozilla.javascript.Context cx, int featureIndex) protected org.mozilla.javascript.ContextMethods inherited from class org.mozilla.javascript.ContextFactory
addListener, call, checkNotSealed, createClassLoader, doTopCall, doTopCall, enter, enterContext, enterContext, exit, getApplicationClassLoader, getGlobal, getGlobalSetter, hasExplicitGlobal, initApplicationClassLoader, initGlobal, isSealed, observeInstructionCount, onContextCreated, onContextReleased, removeListener, seal
-
Constructor Details
-
RhinoContextFactory
public RhinoContextFactory()
-
-
Method Details
-
makeContext
protected org.mozilla.javascript.Context makeContext()- Overrides:
makeContextin classorg.mozilla.javascript.ContextFactory
-
hasFeature
protected boolean hasFeature(org.mozilla.javascript.Context cx, int featureIndex) - Overrides:
hasFeaturein classorg.mozilla.javascript.ContextFactory
-