public class Referenceable
extends org.mozilla.javascript.ScriptableObject
| Constructor and Description |
|---|
Referenceable() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
clearErrno() |
protected void |
clearPin()
Clear the flag requesting that we pin the script.
|
void |
close() |
String |
getClassName() |
protected static ScriptRunner |
getRunner() |
protected static ScriptRunner |
getRunner(org.mozilla.javascript.Context cx) |
void |
ref()
Clear the state set by unref and pin the script if one had been previously requested.
|
protected void |
requestPin()
Set a flag requesting that we pin the script if it was not already pinned or unrefed.
|
protected static void |
setErrno(int err) |
protected static void |
setErrno(String err) |
void |
unref()
Set a flag preventing this object from ever pinning the script even if a pin
was requested and un-pin if it ever was.
|
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, equivalentValues, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasInstance, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, sizepublic String getClassName()
getClassName in interface org.mozilla.javascript.ScriptablegetClassName in class org.mozilla.javascript.ScriptableObject@JSFunction public void ref()
@JSFunction public void unref()
protected void requestPin()
protected void clearPin()
@JSFunction public void close()
protected static void setErrno(int err)
protected static void setErrno(String err)
protected static void clearErrno()
protected static ScriptRunner getRunner(org.mozilla.javascript.Context cx)
protected static ScriptRunner getRunner()
Copyright © 2016 Apigee Corporation. All Rights Reserved.