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 booleanhasFeature(Context cx, int featureIndex) Implementation ofContext.hasFeature(int featureIndex).protected voidMethods 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:ContextFactoryImplementation ofContext.hasFeature(int featureIndex). This can be used to customizeContextwithout introducing additional subclasses.- Overrides:
hasFeaturein classContextFactory
-
onContextCreated
- Overrides:
onContextCreatedin classContextFactory
-