Modifier and Type | Method and Description |
---|---|
ContextFactory |
ContextFactory.GlobalSetter.getContextFactoryGlobal() |
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 java.lang.Object |
Context.call(ContextFactory factory,
Callable callable,
Scriptable scope,
Scriptable thisObj,
java.lang.Object[] args)
Call
Callable.call(Context cx, Scriptable scope, Scriptable thisObj,
Object[] args)
using the Context instance associated with the current thread. |
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.
|
protected 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 java.lang.Object |
VMBridge.newInterfaceProxy(java.lang.Object proxyHelper,
ContextFactory cf,
InterfaceAdapter adapter,
java.lang.Object target,
Scriptable topScope)
Create proxy object for
InterfaceAdapter . |
void |
ContextFactory.GlobalSetter.setContextFactoryGlobal(ContextFactory factory) |
Constructor and Description |
---|
Context(ContextFactory factory)
Creates a new context.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
VMBridge_jdk13.getInterfaceProxyHelper(ContextFactory cf,
java.lang.Class<?>[] interfaces) |
protected java.lang.Object |
VMBridge_jdk13.newInterfaceProxy(java.lang.Object proxyHelper,
ContextFactory cf,
InterfaceAdapter adapter,
java.lang.Object target,
Scriptable topScope) |
Modifier and Type | Method and Description |
---|---|
void |
Dim.attachTo(ContextFactory factory)
Attaches the debugger to the given ContextFactory.
|
void |
Main.attachTo(ContextFactory factory)
Attaches the debugger to the given
ContextFactory . |
static Main |
Main.mainEmbedded(ContextFactory factory,
ScopeProvider scopeProvider,
java.lang.String title)
Entry point for embedded applications.
|
static Main |
Main.mainEmbedded(ContextFactory factory,
Scriptable scope,
java.lang.String title)
Entry point for embedded applications.
|
Modifier and Type | Class and Description |
---|---|
class |
ShellContextFactory |
Modifier and Type | Method and Description |
---|---|
void |
Global.init(ContextFactory factory) |