public static class Process.ProcessImpl extends AbstractProcess
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CLASS_NAME |
connected, DEFAULT_UMASK, env, eval, execArgv, EXECUTABLE_NAME, exiting, forceRepl, printEval, runner, startTime, umaskId_constructor| Constructor and Description |
|---|
Process.ProcessImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
anonymousCall(int id,
org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
Object thisObj,
Object[] args) |
protected Process.ProcessImpl |
defaultConstructor() |
protected Process.ProcessImpl |
defaultConstructor(org.mozilla.javascript.Context cx,
Object[] args) |
void |
emitEvent(String event,
Object arg,
org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope) |
Object |
getDomain() |
org.mozilla.javascript.Function |
getHandleFatal() |
protected Object |
getInstanceIdValue(int id) |
Object |
getInternalModule(String name,
org.mozilla.javascript.Context cx) |
boolean |
isImmediateTaskPending() |
boolean |
isTickTaskPending() |
void |
processImmediateTasks(org.mozilla.javascript.Context cx) |
void |
processTickTasks(org.mozilla.javascript.Context cx)
We call this from the main loop if we know that _needTickCallback was called.
|
protected Object |
prototypeCall(int id,
org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
Object[] args) |
void |
setArgv(String[] args) |
void |
setDomain(Object domain) |
protected void |
setInstanceIdValue(int id,
Object val) |
void |
submitTick(org.mozilla.javascript.Context cx,
Object[] args,
org.mozilla.javascript.Function function,
org.mozilla.javascript.Scriptable thisObj,
Object callDomain) |
chdir, cwd, doKill, getArch, getConfig, getExecArgv, getFeatures, getJSExecArgv, getPid, getPlatform, getRunner, getUmask, getVersion, getVersions, hrtime, isExiting, JsGc, memoryUsage, setConnected, setEnv, setEval, setExecArgv, setExiting, setForceRepl, setPrintEval, setRunner, umask, uptimeexecIdCall, exportAsClass, findInstanceIdInfo, findPrototypeId, getClassName, getInstanceIdName, getMaxInstanceId, initPrototypeIdactivatePrototypeMap, addIdFunctionProperty, defaultGet, defaultHas, defaultPut, defineOwnProperty, delete, exportAsJSClass, fillConstructorProperties, get, getAttributes, getOwnPropertyDescriptor, has, hasPrototypeMap, incompatibleCallError, initPrototypeConstructor, initPrototypeMethod, initPrototypeValue, instanceIdInfo, put, setAttributes, setInstanceIdAttributesapplyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, equivalentValues, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, hasInstance, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, sizeprotected static final String CLASS_NAME
protected Process.ProcessImpl defaultConstructor(org.mozilla.javascript.Context cx, Object[] args)
defaultConstructor in class AbstractIdObject<AbstractProcess>protected Process.ProcessImpl defaultConstructor()
defaultConstructor in class AbstractIdObject<AbstractProcess>protected Object getInstanceIdValue(int id)
getInstanceIdValue in class org.mozilla.javascript.IdScriptableObjectprotected void setInstanceIdValue(int id,
Object val)
setInstanceIdValue in class org.mozilla.javascript.IdScriptableObjectprotected Object prototypeCall(int id, org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope, Object[] args)
prototypeCall in class AbstractIdObject<AbstractProcess>protected Object anonymousCall(int id, org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope, Object thisObj, Object[] args)
anonymousCall in class AbstractIdObject<AbstractProcess>public Object getDomain()
getDomain in class AbstractProcesspublic void setDomain(Object domain)
setDomain in class AbstractProcesspublic Object getInternalModule(String name, org.mozilla.javascript.Context cx)
getInternalModule in class AbstractProcesspublic void setArgv(String[] args)
setArgv in class AbstractProcesspublic void submitTick(org.mozilla.javascript.Context cx,
Object[] args,
org.mozilla.javascript.Function function,
org.mozilla.javascript.Scriptable thisObj,
Object callDomain)
submitTick in class AbstractProcesspublic void processTickTasks(org.mozilla.javascript.Context cx)
processTickTasks in class AbstractProcesspublic boolean isTickTaskPending()
isTickTaskPending in class AbstractProcesspublic boolean isImmediateTaskPending()
isImmediateTaskPending in class AbstractProcesspublic void processImmediateTasks(org.mozilla.javascript.Context cx)
processImmediateTasks in class AbstractProcesspublic void emitEvent(String event, Object arg, org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope)
emitEvent in class AbstractProcesspublic org.mozilla.javascript.Function getHandleFatal()
getHandleFatal in class AbstractProcessCopyright © 2015 Apigee Corporation. All Rights Reserved.