| Package | Description |
|---|---|
| org.mozilla.javascript | |
| org.mozilla.javascript.jdk13 |
| Modifier and Type | Method and Description |
|---|---|
ContextFactory |
Context.getFactory()
Return
ContextFactory instance used to create this Context. |
static ContextFactory |
ContextFactory.getGlobal()
Get global ContextFactory.
|
| Modifier and Type | Method and Description |
|---|---|
static Object |
Context.call(ContextFactory factory,
Callable callable,
Scriptable scope,
Scriptable thisObj,
Object[] args)
Call
Callable.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 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.
|
Object |
InterfaceAdapter.invoke(ContextFactory cf,
Object target,
Scriptable topScope,
Method method,
Object[] args) |
protected Object |
VMBridge.newInterfaceProxy(Object proxyHelper,
ContextFactory cf,
InterfaceAdapter adapter,
Object target,
Scriptable topScope)
Create proxy object for
InterfaceAdapter. |
| Constructor and Description |
|---|
Context(ContextFactory factory)
Creates a new context.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
VMBridge_jdk13.getInterfaceProxyHelper(ContextFactory cf,
Class<?>[] interfaces) |
protected Object |
VMBridge_jdk13.newInterfaceProxy(Object proxyHelper,
ContextFactory cf,
InterfaceAdapter adapter,
Object target,
Scriptable topScope) |
Copyright © 2015–2017 The veraPDF Consortium. All rights reserved.