org.apache.cocoon.components.flow.javascript.fom
Class FOM_JavaScriptInterpreter.ThreadScope

java.lang.Object
  extended by org.mozilla.javascript.ScriptableObject
      extended by org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.ThreadScope
All Implemented Interfaces:
Serializable, org.mozilla.javascript.debug.DebuggableObject, org.mozilla.javascript.Scriptable
Enclosing class:
FOM_JavaScriptInterpreter

public static class FOM_JavaScriptInterpreter.ThreadScope
extends org.mozilla.javascript.ScriptableObject

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mozilla.javascript.ScriptableObject
DONTENUM, EMPTY, PERMANENT, READONLY
 
Fields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND
 
Constructor Summary
FOM_JavaScriptInterpreter.ThreadScope(org.mozilla.javascript.tools.shell.Global scope)
          Initializes new top-level scope.
 
Method Summary
 ClassLoader getClassLoader()
           
 String getClassName()
           
static void importClass(org.mozilla.javascript.Context ctx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function funObj)
          Override importClass to allow reloading of classes
 void put(int index, org.mozilla.javascript.Scriptable start, Object value)
           
 void put(String name, org.mozilla.javascript.Scriptable start, Object value)
           
 void setLock(boolean lock)
           
 void setupPackages(ClassLoader cl)
           
 
Methods inherited from class org.mozilla.javascript.ScriptableObject
associateValue, callMethod, callMethod, defineClass, defineClass, defineClass, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, equivalentValues, get, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isSealed, putProperty, putProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setParentScope, setPrototype
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FOM_JavaScriptInterpreter.ThreadScope

public FOM_JavaScriptInterpreter.ThreadScope(org.mozilla.javascript.tools.shell.Global scope)
                                      throws Exception
Initializes new top-level scope.

Throws:
Exception
Method Detail

getClassName

public String getClassName()
Specified by:
getClassName in interface org.mozilla.javascript.Scriptable
Specified by:
getClassName in class org.mozilla.javascript.ScriptableObject

setLock

public void setLock(boolean lock)

put

public void put(String name,
                org.mozilla.javascript.Scriptable start,
                Object value)
Specified by:
put in interface org.mozilla.javascript.Scriptable
Overrides:
put in class org.mozilla.javascript.ScriptableObject

put

public void put(int index,
                org.mozilla.javascript.Scriptable start,
                Object value)
Specified by:
put in interface org.mozilla.javascript.Scriptable
Overrides:
put in class org.mozilla.javascript.ScriptableObject

importClass

public static void importClass(org.mozilla.javascript.Context ctx,
                               org.mozilla.javascript.Scriptable thisObj,
                               Object[] args,
                               org.mozilla.javascript.Function funObj)
Override importClass to allow reloading of classes


setupPackages

public void setupPackages(ClassLoader cl)
                   throws Exception
Throws:
Exception

getClassLoader

public ClassLoader getClassLoader()


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.