Class RhinoScriptEngine.CtxFactory
java.lang.Object
org.mozilla.javascript.ContextFactory
org.mozilla.javascript.engine.RhinoScriptEngine.CtxFactory
- Enclosing class:
RhinoScriptEngine
-
Nested Class Summary
Nested classes/interfaces inherited from class ContextFactory
ContextFactory.GlobalSetter, ContextFactory.Listener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
hasFeature
(Context cx, int featureIndex) Implementation ofContext.hasFeature(int featureIndex)
.protected void
Methods inherited from class ContextFactory
addListener, call, checkNotSealed, createClassLoader, doTopCall, enter, enterContext, enterContext, exit, getApplicationClassLoader, getE4xImplementationFactory, getGlobal, getGlobalSetter, hasExplicitGlobal, initApplicationClassLoader, initGlobal, isSealed, makeContext, observeInstructionCount, onContextReleased, removeListener, seal
-
Constructor Details
-
CtxFactory
private CtxFactory()
-
-
Method Details
-
hasFeature
Description copied from class:ContextFactory
Implementation ofContext.hasFeature(int featureIndex)
. This can be used to customizeContext
without introducing additional subclasses.- Overrides:
hasFeature
in classContextFactory
-
onContextCreated
- Overrides:
onContextCreated
in classContextFactory
-