Save This Page
Home » bsf-src-2.4.0 » org.apache.bsf.debug.jsdi » [javadoc | source]
org.apache.bsf.debug.jsdi
public interface: JsContext [javadoc | source]

All Implemented Interfaces:
    Remote

All Known Implementing Classes:
    JsContextStub, JsContextStub

Method from org.apache.bsf.debug.jsdi.JsContext Summary:
bind,   getCode,   getDepth,   getEngine,   getLineNumber,   getScope,   getSourceName,   getThis
Method from org.apache.bsf.debug.jsdi.JsContext Detail:
 public JsObject bind(String id) throws RemoteException
 public JsCode getCode() throws RemoteException
 public int getDepth() throws RemoteException
 public JsEngine getEngine() throws RemoteException
 public int getLineNumber() throws RemoteException
 public JsObject getScope() throws RemoteException
    Scope of a context. See ECMA 262, 3rd edition, 10.1.6 through 10.1.8 The scope depends on if the context represents global code, eval code, or function code. Global Code: The scope chain is cerated and initialised to contain the global objects and no others. Eval Code: The scope chain is initialized to contains the same scope chain as the calling context. This includes the same activation object and therefore the same arguments and local variables. Function Code: The scope chain is initialised to contain the activation object followed by the objects in the scope chain stored in the [[Scope]] property of the Function object.
 public String getSourceName() throws RemoteException
 public JsObject getThis() throws RemoteException