All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.beans.script.SCRRTEnvironment

java.lang.Object
   |
   +----com.ibm.beans.script.SCRRTEnvironment

public class SCRRTEnvironment
extends Object
implements Serializable
This class is the run-time version of the scripting environment. This class represents the minimum information needed to execute a script. A script cannot be edited from the scripting run time environment. The SCRRTEnvironment is created by the SCREnvironment class.

See Also:
getRTEnvironment

Method Index

 o initialize(Hashtable)
Initializes the environment.
 o runScript(boolean, SCRRTClient)
Runs the script.
 o terminateScript()
Terminates the script.

Methods

 o initialize
 public void initialize(Hashtable tbl)
Initializes the environment. This method must be called after the environment is created (using SCREnvironment.getRTEnvironment() method) or after serialization.

Parameters:
tbl - Run-time object-name binding table.
 o runScript
 public boolean runScript(boolean withDebug,
                          SCRRTClient scr_client)
Runs the script.

Parameters:
withDebug - true if the script is run with debugger; false otherwise.
scr_client - The scripting client used by the component to terminate the script.
Returns:
true if the script began executing; false otherwise.
 o terminateScript
 public boolean terminateScript()
Terminates the script.

Returns:
true if the script was terminated; false otherwise.

All Packages  Class Hierarchy  This Package  Previous  Next  Index