Uses of Class
org.mozilla.javascript.ContextFactory
Packages that use ContextFactory
Package
Description
-
Uses of ContextFactory in org.mozilla.javascript
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.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.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 ContextFactory -
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
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. -
Uses of ContextFactory in org.mozilla.javascript.tools.shell
Subclasses of ContextFactory in org.mozilla.javascript.tools.shellMethods in org.mozilla.javascript.tools.shell with parameters of type ContextFactory