|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.IdeStarter
public abstract class IdeStarter
The interface for the starter of a command to be executed in a running IDE.
Typically, an IdeStarter
is paired with an IdeRunner
. The
starter starts the IDE; the runner executes the command once the IDE is
initialized (two classes are required because of differences in class loader
context). The starter object is passed to the runner to allow the starter
to pass data to the runner.
The actual IdeRunner
and IdeStarter
implementation classes
to use are typically specified in the .conf file; the IDE launcher chooses
the .conf file based on the first argument of the command line.
The primary responsibility of an IdeStarter
is to start the IDE
core which is passed to it. However, for the sake of responsiveness, it is
expected that a starter will not start the IDE before verifying command line
arguments, or if it only needs to print usage.
IdeRunner
Constructor Summary | |
---|---|
IdeStarter()
|
Method Summary | |
---|---|
abstract void |
startIde(java.lang.String command,
java.lang.String[] arguments,
IdeCore core)
Starts the IDE. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IdeStarter()
Method Detail |
---|
public abstract void startIde(java.lang.String command, java.lang.String[] arguments, IdeCore core)
Ide.startup(core);
An implementation may choose not to start the IDE; to exit immediately,
it should invoke System.exit(int)
explicitly.
command
- The command which specified this starter, or "ide" if none.arguments
- The command line arguments after the command.core
- The IdeCore
to start.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |