|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ide.runner.Starter
oracle.jdeveloper.runner.JStarter
A class that represents a way of starting a Java process.
Field Summary | |
protected JRunProcess |
jrunProcess The JRunProcess that will be or has been started by this JStarter. |
protected RunConfiguration |
runConfiguration The RunConfiguration part of the project. |
protected java.lang.String[] |
target The target items for the java command line. |
Fields inherited from class oracle.ide.runner.Starter |
process, runProcess, startException |
Constructor Summary | |
protected |
JStarter(JRunProcess jrunProcess, java.lang.String[] target) This constructor initializes fields, including jrunProcess , target and runConfiguration . |
Method Summary | |
protected static void |
addArrayToList(java.util.List list, java.lang.String[] a) |
protected void |
addBootClassPathOption(java.util.List list) |
protected void |
addClassPathOption(java.util.List list) |
protected void |
addFirstJavaCommandOptions(java.util.List list) |
protected boolean |
addJavaExecutableName(java.util.List list) Adds the Java executable name to the list of command line items. |
protected void |
addJavaOptions(java.util.List list) Adds the Java options to the list of command line items. |
protected boolean |
addJavaVmOption(java.util.List list) Adds the Java VM option to the list of command line items. |
protected void |
addLastJavaCommandOptions(java.util.List list) |
protected void |
addProgramArguments(java.util.List list) Adds the program arguments to the list of command line items. |
protected java.lang.String |
getBootClassPath() Returns the boot class path. |
protected java.lang.String |
getClassPath() Returns the class path. |
Database |
getDatabase() Returns the database if this JStarter is starting a procedure in a database. |
java.lang.String[] |
getStartCommand() Returns the command line that will be executed to start the process. |
protected java.lang.String |
getVMName() |
Methods inherited from class oracle.ide.runner.Starter |
canStart, canTerminate, canTerminateGracefully, finished, getExitCode, getProcess, getStartDirectory, getStartEnvironmentParams, getStartException, mustPrepareToStart, prepareToStart, reuseLogPage, start, terminate, terminateGracefully, waitForProcess |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected JRunProcess jrunProcess
protected java.lang.String[] target
protected RunConfiguration runConfiguration
Constructor Detail |
protected JStarter(JRunProcess jrunProcess, java.lang.String[] target)
jrunProcess
, target
and runConfiguration
.Method Detail |
public Database getDatabase()
public java.lang.String[] getStartCommand()
Starter
The default behavior is to call the RunProcess.getStartCommand()
method.
getStartCommand
in class Starter
protected boolean addJavaExecutableName(java.util.List list)
list
- the command line items so fartrue
if the Java executable name can be determined.protected boolean addJavaVmOption(java.util.List list)
The Java VM is specified by the RunConfiguration
list
- the command line items so fartrue
protected final java.lang.String getVMName()
protected final void addFirstJavaCommandOptions(java.util.List list)
protected void addJavaOptions(java.util.List list)
If the RunConfiguration
specifies to pass proxy options to the process, these are added.
list
- the command line items so farprotected final void addClassPathOption(java.util.List list)
protected java.lang.String getClassPath()
protected final void addBootClassPathOption(java.util.List list)
protected java.lang.String getBootClassPath()
protected final void addLastJavaCommandOptions(java.util.List list)
protected void addProgramArguments(java.util.List list)
The implementation here adds program arguments specified in the RunConfiguration
.
list
- the command line items so farprotected static void addArrayToList(java.util.List list, java.lang.String[] a)
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.