|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.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 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 |
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. |
Methods inherited from class oracle.ide.runner.Starter |
canStart, canTerminate, canTerminateGracefully, finished, getExitCode, getProcess, getStartDirectory, 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 far
true
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 far
true
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 java.lang.String getClassPath()
protected java.lang.String getBootClassPath()
protected void addProgramArguments(java.util.List list)
The implementation here adds program arguments specified in the
RunConfiguration
.
list
- the command line items so far
|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©1997, 2003, Oracle. All rights reserved.