Uses of Class
org.mozilla.javascript.ContextFactory
Packages that use ContextFactory
Package
Description
-
Uses of ContextFactory in org.mozilla.javascript
Fields in org.mozilla.javascript declared as ContextFactoryModifier and TypeFieldDescriptionprivate final ContextFactory
Context.factory
private static ContextFactory
ContextFactory.global
Methods in org.mozilla.javascript that return ContextFactoryModifier and TypeMethodDescriptionContextFactory.GlobalSetter.getContextFactoryGlobal()
final ContextFactory
Context.getFactory()
ReturnContextFactory
instance used to create this Context.static ContextFactory
ContextFactory.getGlobal()
Get global ContextFactory.Methods in org.mozilla.javascript with parameters of type ContextFactoryModifier and TypeMethodDescriptionstatic Object
Context.call
(ContextFactory factory, Callable callable, Scriptable scope, Scriptable thisObj, Object[] args) CallCallable.call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args)
using the Context instance associated with the current thread.(package private) static <T> T
Context.call
(ContextFactory factory, ContextAction<T> action) The method implementsContextFactory.call(ContextAction)
logic.static Object
JavaAdapter.callMethod
(ContextFactory factory, Scriptable thisObj, Function f, Object[] args, long argsToWrap) Utility method which dynamically binds a Context to the current thread, if none already exists.(package private) static final Context
Context.enter
(Context cx, ContextFactory factory) protected abstract Object
VMBridge.getInterfaceProxyHelper
(ContextFactory cf, Class<?>[] interfaces) Create helper object to create later proxies implementing the specified interfaces later.static void
ContextFactory.initGlobal
(ContextFactory factory) Set global ContextFactory.InterfaceAdapter.invoke
(ContextFactory cf, Object target, Scriptable topScope, Object thisObject, Method method, Object[] args) protected abstract Object
VMBridge.newInterfaceProxy
(Object proxyHelper, ContextFactory cf, InterfaceAdapter adapter, Object target, Scriptable topScope) Create proxy object forInterfaceAdapter
.void
ContextFactory.GlobalSetter.setContextFactoryGlobal
(ContextFactory factory) Constructors in org.mozilla.javascript with parameters of type ContextFactoryModifierConstructorDescriptionprotected
Context
(ContextFactory factory) Creates a new context.private
InterfaceAdapter
(ContextFactory cf, Class<?> cl) -
Uses of ContextFactory in org.mozilla.javascript.engine
Subclasses of ContextFactory in org.mozilla.javascript.engine -
Uses of ContextFactory in org.mozilla.javascript.jdk18
Methods in org.mozilla.javascript.jdk18 with parameters of type ContextFactoryModifier and TypeMethodDescriptionprotected Object
VMBridge_jdk18.getInterfaceProxyHelper
(ContextFactory cf, Class<?>[] interfaces) protected Object
VMBridge_jdk18.newInterfaceProxy
(Object proxyHelper, ContextFactory cf, InterfaceAdapter adapter, Object target, Scriptable topScope) -
Uses of ContextFactory in org.mozilla.javascript.tools.debugger
Fields in org.mozilla.javascript.tools.debugger declared as ContextFactoryModifier and TypeFieldDescriptionprivate ContextFactory
Dim.contextFactory
The ContextFactory to listen to for debugging information.Methods in org.mozilla.javascript.tools.debugger with parameters of type ContextFactoryModifier and TypeMethodDescriptionvoid
Dim.attachTo
(ContextFactory factory) Attaches the debugger to the given ContextFactory.void
Main.attachTo
(ContextFactory factory) Attaches the debugger to the givenContextFactory
.static Main
Main.mainEmbedded
(ContextFactory factory, Scriptable scope, String title) Entry point for embedded applications.static Main
Main.mainEmbedded
(ContextFactory factory, ScopeProvider scopeProvider, String title) Entry point for embedded applications.private static Main
Main.mainEmbeddedImpl
(ContextFactory factory, Object scopeProvider, String title) Helper method forMain.mainEmbedded(String)
, etc. -
Uses of ContextFactory in org.mozilla.javascript.tools.shell
Subclasses of ContextFactory in org.mozilla.javascript.tools.shellFields in org.mozilla.javascript.tools.shell declared as ContextFactoryMethods in org.mozilla.javascript.tools.shell with parameters of type ContextFactory