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

java.lang.Object
  extended byorg.mozilla.javascript.ScriptableObject
      extended byorg.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.ThreadScope
All Implemented Interfaces:
org.mozilla.javascript.ConstProperties, org.mozilla.javascript.debug.DebuggableObject, org.mozilla.javascript.Scriptable, Serializable
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
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
 
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, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, equivalentValues, get, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isConst, isSealed, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, 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.

Method Detail

getClassName

public String getClassName()

setLock

public void setLock(boolean lock)

put

public void put(String name,
                org.mozilla.javascript.Scriptable start,
                Object value)

put

public void put(int index,
                org.mozilla.javascript.Scriptable start,
                Object value)

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-2008 The Apache Software Foundation. All Rights Reserved.