|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JavaRunner
Simple API for an external Java runner service.
| Method Summary | |
|---|---|
void |
exec(String[] vmOptions,
String[] classpath,
String mainClass,
String[] programOptions,
String javaHome,
File workingDir)
Starts the selected Java program, up to service implementation whether it waits for it to exit. |
void |
exec(String[] vmOptions,
String[] classpath,
String mainClass,
String[] programOptions,
String javaHome,
File workingDir,
String[] environmentVariables)
Starts the selected Java program, up to service implementation whether it waits for it to exit. |
| Method Detail |
|---|
void exec(String[] vmOptions,
String[] classpath,
String mainClass,
String[] programOptions,
String javaHome,
File workingDir,
String[] environmentVariables)
throws ExecutionException
vmOptions - selected JVM optionsclasspath - application class pathmainClass - main program entry pointprogramOptions - program specific optionsjavaHome - java home directoryworkingDir - working directoryenvironmentVariables - optional environment variables
org.ops4j.ExecutionException.runner.platform.PlatformException - if something goes wrong
ExecutionException
void exec(String[] vmOptions,
String[] classpath,
String mainClass,
String[] programOptions,
String javaHome,
File workingDir)
throws ExecutionException
vmOptions - selected JVM optionsclasspath - application class pathmainClass - main program entry pointprogramOptions - program specific optionsjavaHome - java home directoryworkingDir - working directory
org.ops4j.ExecutionException.runner.platform.PlatformException - if something goes wrong
ExecutionException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||