org.mule.tools.rhinodo.rhino
Class NodeJsGlobal

java.lang.Object
  extended by org.mozilla.javascript.ScriptableObject
      extended by org.mozilla.javascript.IdScriptableObject
          extended by org.mozilla.javascript.TopLevel
              extended by org.mozilla.javascript.ImporterTopLevel
                  extended by org.mozilla.javascript.tools.shell.Global
                      extended by org.mule.tools.rhinodo.rhino.NodeJsGlobal
All Implemented Interfaces:
Serializable, org.mozilla.javascript.ConstProperties, org.mozilla.javascript.debug.DebuggableObject, org.mozilla.javascript.IdFunctionCall, org.mozilla.javascript.Scriptable

public class NodeJsGlobal
extends org.mozilla.javascript.tools.shell.Global

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.mozilla.javascript.TopLevel
org.mozilla.javascript.TopLevel.Builtins
 
Field Summary
 
Fields inherited from class org.mozilla.javascript.ScriptableObject
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
 
Fields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND
 
Constructor Summary
NodeJsGlobal()
           
 
Method Summary
 org.mozilla.javascript.commonjs.module.Require installNodeJsRequire(org.mozilla.javascript.Context cx, NodeModuleFactory nodeModuleFactory, org.mozilla.javascript.commonjs.module.RequireBuilder rb, boolean sandboxed)
           
 org.mozilla.javascript.commonjs.module.Require installRequire(org.mozilla.javascript.Context cx, List<String> modulePath, boolean sandboxed)
           
 
Methods inherited from class org.mozilla.javascript.tools.shell.Global
defineClass, deserialize, doctest, gc, getErr, getIn, getOut, getPrompts, help, init, init, initQuitAction, isInitialized, load, loadClass, print, quit, readFile, readUrl, runCommand, runDoctest, seal, serialize, setErr, setIn, setOut, setSealedStdLib, spawn, sync, toint32, version
 
Methods inherited from class org.mozilla.javascript.ImporterTopLevel
execIdCall, findPrototypeId, get, getClassName, has, importPackage, init, initPrototypeId, initStandardObjects
 
Methods inherited from class org.mozilla.javascript.TopLevel
cacheBuiltins, getBuiltinCtor, getBuiltinCtor, getBuiltinPrototype, getBuiltinPrototype
 
Methods inherited from class org.mozilla.javascript.IdScriptableObject
activatePrototypeMap, addIdFunctionProperty, defaultGet, defaultPut, defineOwnProperty, delete, exportAsJSClass, fillConstructorProperties, findInstanceIdInfo, getAttributes, getInstanceIdName, getInstanceIdValue, getMaxInstanceId, getOwnPropertyDescriptor, hasPrototypeMap, incompatibleCallError, initPrototypeConstructor, initPrototypeMethod, initPrototypeValue, instanceIdInfo, put, setAttributes, setInstanceIdAttributes, setInstanceIdValue
 
Methods inherited from class org.mozilla.javascript.ScriptableObject
applyDescriptorToAttributeBitset, 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, 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, setGetterOrSetter, setParentScope, setPrototype, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeJsGlobal

public NodeJsGlobal()
Method Detail

installRequire

public org.mozilla.javascript.commonjs.module.Require installRequire(org.mozilla.javascript.Context cx,
                                                                     List<String> modulePath,
                                                                     boolean sandboxed)
Overrides:
installRequire in class org.mozilla.javascript.tools.shell.Global

installNodeJsRequire

public org.mozilla.javascript.commonjs.module.Require installNodeJsRequire(org.mozilla.javascript.Context cx,
                                                                           NodeModuleFactory nodeModuleFactory,
                                                                           org.mozilla.javascript.commonjs.module.RequireBuilder rb,
                                                                           boolean sandboxed)


Copyright © 2012. All Rights Reserved.