|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jdeveloper.runner.Oc4jStarterFactory
This class implements run/debug support for embedded OC4J.
Field Summary | |
static java.lang.String |
DEFAULT_OC4J_CMD_LINE
|
static java.lang.String |
OC4J_CMD_LINE_KEY
|
Constructor Summary | |
Oc4jStarterFactory()
|
Method Summary | |
java.lang.Object |
canStart(RunProcess runProcess,
Node node,
java.util.List errors)
Tests whether this StarterFactory knows how to start the specified node. |
Starter |
createStarter(RunProcess runProcess,
Node node,
java.lang.Object data)
Creates a starter for the specified RunProcess. |
java.lang.String |
getName()
Returns a String that identifies this StarterFactory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String OC4J_CMD_LINE_KEY
public static final java.lang.String DEFAULT_OC4J_CMD_LINE
Constructor Detail |
public Oc4jStarterFactory()
Method Detail |
public java.lang.String getName()
StarterFactory
getName
in interface StarterFactory
public java.lang.Object canStart(RunProcess runProcess, Node node, java.util.List errors)
StarterFactory
If this StarterFactory knows how to start the specified
node, it should return a non-null Object. The non-null Object will
be passed to the StarterFactory.createStarter(oracle.ide.runner.RunProcess, oracle.ide.model.Node, java.lang.Object)
method.
If this StarterFactory does not know how to start the
specified node, it should add an appropriate error message
String
to the errors List
and return null.
canStart
in interface StarterFactory
runProcess
- the RunProcessnode
- the node that should be startederrors
- the errors list
public Starter createStarter(RunProcess runProcess, Node node, java.lang.Object data)
StarterFactory
createStarter
in interface StarterFactory
runProcess
- the RunProcess to startdata
- the non-null Object returned previously from the canStart
method.
|
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.