class ProcessLaunchTask
extends java.lang.Object
implements java.lang.Runnable
AppServerLauncher.launch(java.lang.String)
. Else, it will use the spawner
infrastructure to start a P2J client.Modifier and Type | Field and Description |
---|---|
private java.lang.String |
process
The P2J process subject ID.
|
Constructor and Description |
---|
ProcessLaunchTask(java.lang.String process)
Create a new launcher task for the given process.
|
Modifier and Type | Method and Description |
---|---|
void |
run()
Calls
ProcessClientSpawner.launch(String) to launch this P2J process . |
java.lang.String |
toString()
Get the string representation of this runner.
|
public ProcessLaunchTask(java.lang.String process)
process
- The process subject ID.public void run()
ProcessClientSpawner.launch(String)
to launch this P2J process
.run
in interface java.lang.Runnable
public java.lang.String toString()
toString
in class java.lang.Object