Uses of Class
org.htmlunit.corejs.javascript.ContextFactory
-
-
Uses of ContextFactory in org.htmlunit.corejs.javascript
Fields in org.htmlunit.corejs.javascript declared as ContextFactory Modifier and Type Field Description private ContextFactory
Context. factory
private static ContextFactory
ContextFactory. global
Methods in org.htmlunit.corejs.javascript that return ContextFactory Modifier and Type Method Description ContextFactory
ContextFactory.GlobalSetter. getContextFactoryGlobal()
ContextFactory
Context. getFactory()
ReturnContextFactory
instance used to create this Context.static ContextFactory
ContextFactory. getGlobal()
Get global ContextFactory.Methods in org.htmlunit.corejs.javascript with parameters of type ContextFactory Modifier and Type Method Description static java.lang.Object
Context. call(ContextFactory factory, Callable callable, Scriptable scope, Scriptable thisObj, java.lang.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 implementscall(ContextAction)
logic.static java.lang.Object
JavaAdapter. callMethod(ContextFactory factory, Scriptable thisObj, Function f, java.lang.Object[] args, long argsToWrap)
Utility method which dynamically binds a Context to the current thread, if none already exists.(package private) static Context
Context. enter(Context cx, ContextFactory factory)
protected abstract java.lang.Object
VMBridge. getInterfaceProxyHelper(ContextFactory cf, java.lang.Class<?>[] interfaces)
Create helper object to create later proxies implementing the specified interfaces later.static void
ContextFactory. initGlobal(ContextFactory factory)
Set global ContextFactory.java.lang.Object
InterfaceAdapter. invoke(ContextFactory cf, java.lang.Object target, Scriptable topScope, java.lang.Object thisObject, java.lang.reflect.Method method, java.lang.Object[] args)
protected abstract java.lang.Object
VMBridge. newInterfaceProxy(java.lang.Object proxyHelper, ContextFactory cf, InterfaceAdapter adapter, java.lang.Object target, Scriptable topScope)
Create proxy object forInterfaceAdapter
.void
ContextFactory.GlobalSetter. setContextFactoryGlobal(ContextFactory factory)
Constructors in org.htmlunit.corejs.javascript with parameters of type ContextFactory Constructor Description Context(ContextFactory factory)
Creates a new context.InterfaceAdapter(ContextFactory cf, java.lang.Class<?> cl)
-
Uses of ContextFactory in org.htmlunit.corejs.javascript.engine
Subclasses of ContextFactory in org.htmlunit.corejs.javascript.engine Modifier and Type Class Description private static class
RhinoScriptEngine.CtxFactory
-
Uses of ContextFactory in org.htmlunit.corejs.javascript.jdk18
Methods in org.htmlunit.corejs.javascript.jdk18 with parameters of type ContextFactory Modifier and Type Method Description protected java.lang.Object
VMBridge_jdk18. getInterfaceProxyHelper(ContextFactory cf, java.lang.Class<?>[] interfaces)
protected java.lang.Object
VMBridge_jdk18. newInterfaceProxy(java.lang.Object proxyHelper, ContextFactory cf, InterfaceAdapter adapter, java.lang.Object target, Scriptable topScope)
-
Uses of ContextFactory in org.htmlunit.corejs.javascript.tools.debugger
Fields in org.htmlunit.corejs.javascript.tools.debugger declared as ContextFactory Modifier and Type Field Description private ContextFactory
Dim. contextFactory
The ContextFactory to listen to for debugging information.Methods in org.htmlunit.corejs.javascript.tools.debugger with parameters of type ContextFactory Modifier and Type Method Description void
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, java.lang.String title)
Entry point for embedded applications.static Main
Main. mainEmbedded(ContextFactory factory, ScopeProvider scopeProvider, java.lang.String title)
Entry point for embedded applications.private static Main
Main. mainEmbeddedImpl(ContextFactory factory, java.lang.Object scopeProvider, java.lang.String title)
Helper method forMain.mainEmbedded(String)
, etc. -
Uses of ContextFactory in org.htmlunit.corejs.javascript.tools.shell
Subclasses of ContextFactory in org.htmlunit.corejs.javascript.tools.shell Modifier and Type Class Description class
ShellContextFactory
Fields in org.htmlunit.corejs.javascript.tools.shell declared as ContextFactory Modifier and Type Field Description (package private) ContextFactory
Runner. factory
Methods in org.htmlunit.corejs.javascript.tools.shell with parameters of type ContextFactory Modifier and Type Method Description void
Global. init(ContextFactory factory)
-