All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.beans.script.comps.java.SCRJavaDBGRTComponent

java.lang.Object
   |
   +----com.ibm.beans.script.SCRRTComponent
           |
           +----com.ibm.beans.script.comps.java.SCRJavaRTComponent
                   |
                   +----com.ibm.beans.script.comps.java.SCRJavaDBGRTComponent

public class SCRJavaDBGRTComponent
extends SCRJavaRTComponent
The Java debug run-time component class. It extends the SCRJavaRTComponent class.

See Also:
SCRJavaRTComponent

Constructor Index

 o SCRJavaDBGRTComponent(String, SCREventProcessor, Hashtable, Vector)
Constructor for SCRJavaDBGRTComponent, creates a Java run-time component object that can launch a script debugger.

Method Index

 o debugCanceled()
Terminates the possible running script.
 o debuggerBreakPointSet()
Informs the run-time component that the script debugger successfully set a breakpoint at the initialize method of the script.
 o debuggerCloseRequest()
Requests the scripting client to terminate the script and debugging process.
 o debuggerFailed()
Cancels the debugger launching process.
 o debuggerReady()
Sends the script class name, script code fragments to the debugger and asks the debugger to set a breakpoint at the initialize method of the script.
 o handleRunScript(boolean, SCRRTClient)
Starts the script and the debugger process.
 o handleTerminateScript()
Terminates the script and the debugging process.
 o startDebugger()
Starts the script debugger launching process.

Constructors

 o SCRJavaDBGRTComponent
 public SCRJavaDBGRTComponent(String clsName,
                              SCREventProcessor event_proc,
                              Hashtable evt_tbl,
                              Vector editable_objs)
Constructor for SCRJavaDBGRTComponent, creates a Java run-time component object that can launch a script debugger.

Parameters:
clsName - The name of the generated script class.
event_proc - The runtime event processor.
evt_tbl - The event listener table.
editable_objs - The editable objects which contains the script code fragments.
See Also:
SCRRTComponent

Methods

 o startDebugger
 protected void startDebugger()
Starts the script debugger launching process. This method prompts the user for the password. If the password is provided by the user, it launches the debugger.

Overrides:
startDebugger in class SCRJavaRTComponent
 o debugCanceled
 public synchronized void debugCanceled()
Terminates the possible running script. This method is called when the debugging process is canceled.

 o debuggerFailed
 public synchronized void debuggerFailed()
Cancels the debugger launching process. This method is called when the debugger launching failed.

 o debuggerReady
 public synchronized void debuggerReady()
Sends the script class name, script code fragments to the debugger and asks the debugger to set a breakpoint at the initialize method of the script. This method is called when the script debugger started. It sends

 o debuggerBreakPointSet
 public void debuggerBreakPointSet()
Informs the run-time component that the script debugger successfully set a breakpoint at the initialize method of the script. It calls the script run() method to start it.

 o debuggerCloseRequest
 public void debuggerCloseRequest()
Requests the scripting client to terminate the script and debugging process. This method is called when the script debugger generates a close request.

 o handleTerminateScript
 public boolean handleTerminateScript()
Terminates the script and the debugging process. This method overrides the handleTerminateScript() method of the superclass.

Returns:
true, if successful; false, failed.
Overrides:
handleTerminateScript in class SCRJavaRTComponent
 o handleRunScript
 public boolean handleRunScript(boolean withDebug,
                                SCRRTClient scr_client)
Starts the script and the debugger process. This method overrides the handleRunScript() method of the super class.

Returns:
true, if successful; false, failed.
Overrides:
handleRunScript in class SCRJavaRTComponent

All Packages  Class Hierarchy  This Package  Previous  Next  Index