|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.jdeveloper.runner.JavaOptionProvider
public abstract class JavaOptionProvider
An abstract which allows Java options and program options to be added to the command line before a Java run process is started. To add your JavaOptionProvider to the list of JavaOptionProviders that will be called when a Java run process is started, use the static method JStarter.addJavaOptionProvider(oracle.jdeveloper.runner.JavaOptionProvider). To remove your JavaOptionProvider from the list of JavaOptionProviders that will be called when a Java run process is started, use the static method JStarter.removeJavaOptionProvider(oracle.jdeveloper.runner.JavaOptionProvider).
| Constructor Summary | |
|---|---|
JavaOptionProvider() |
|
| Method Summary | |
|---|---|
java.lang.String[] |
getJavaOptions(JRunProcess jrunProcess)Returns the additional Java options that are required for starting this process. |
java.lang.String[] |
getProgramArguments(JRunProcess jrunProcess)Returns the additional program arguments that are required for starting this process. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaOptionProvider()
| Method Detail |
|---|
public java.lang.String[] getJavaOptions(JRunProcess jrunProcess)
If this method is overridden to return non-null, it is good behavior to log a user readable message to the LogPage associated with the jrunProcess explaining why this is necessary.
To get the target Node from the jrunProcess, use the method RunProcess.getTarget(). To get the Project from the jrunProcess, use the method RunProcess.getProject(). To get the Workspace from the jrunProcess, use the method RunProcess.getWorkspace(). To get the Context from the jrunProcess, use the method RunProcess.getContext(). To get the LogPage from the jrunProcess, use the method RunProcess.getLogPage().
jrunProcess - the process to be startedpublic java.lang.String[] getProgramArguments(JRunProcess jrunProcess)
If this method is overridden to return non-null, it is good behavior to log a user readable message to the LogPage associated with the jrunProcess explaining why this is necessary.
To get the target Node from the jrunProcess, use the method RunProcess.getTarget(). To get the Project from the jrunProcess, use the method RunProcess.getProject(). To get the Workspace from the jrunProcess, use the method RunProcess.getWorkspace(). To get the Context from the jrunProcess, use the method RunProcess.getContext(). To get the LogPage from the jrunProcess, use the method RunProcess.getLogPage().
jrunProcess - the process to be started
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||