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
-
SCRJavaDBGRTComponent(String, SCREventProcessor, Hashtable, Vector)
- Constructor for SCRJavaDBGRTComponent, creates a Java run-time
component object that can launch a script debugger.
-
debugCanceled()
- Terminates the possible running script.
-
debuggerBreakPointSet()
- Informs the run-time component that the script debugger successfully
set a breakpoint at the initialize method of the script.
-
debuggerCloseRequest()
- Requests the scripting client to terminate the script and debugging process.
-
debuggerFailed()
- Cancels the debugger launching process.
-
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.
-
handleRunScript(boolean, SCRRTClient)
- Starts the script and the debugger process.
-
handleTerminateScript()
- Terminates the script and the debugging process.
-
startDebugger()
- Starts the script debugger launching process.
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
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
debugCanceled
public synchronized void debugCanceled()
- Terminates the possible running script. This method is called when the
debugging process is canceled.
debuggerFailed
public synchronized void debuggerFailed()
- Cancels the debugger launching process. This method is called when the
debugger launching failed.
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
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.
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.
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
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