public class X_Shell extends Object
| Modifier and Type | Method and Description |
|---|---|
static ShellService |
globalService() |
static ShellSession |
launchInShell(String cmd,
LineReader stdOut,
LineReader stdErr) |
static ShellSession |
launchJava(Class<?> mainClass,
String[] classpath)
Launches a java process inside a shell environment.
|
static ShellSession |
launchJava(Class<?> mainClass,
String[] classpath,
String[] vmFlags,
String[] args)
Launches a java process inside a shell environment.
|
static HasLiveness |
liveChecker(Process process) |
static ShellService |
newService() |
static void |
rememberArgs(Class<?> mainClass,
String... args) |
static void |
restartSelf() |
public static ShellService newService()
public static ShellService globalService()
public static HasLiveness liveChecker(Process process)
public static ShellSession launchJava(Class<?> mainClass, String[] classpath)
mainClass - - The class name with the main method to runclasspath - - The classpath for this execution.ShellSession used to control the running process.public static ShellSession launchJava(Class<?> mainClass, String[] classpath, String[] vmFlags, String[] args)
mainClass - - The class name with the main method to runclasspath - - The classpath for this execution.vmFlags - - Flags to pass to jvm (like system properties)args - - Arguments to pass to main methodShellSession used to control the running process.public static ShellSession launchInShell(String cmd, LineReader stdOut, LineReader stdErr)
public static void restartSelf()
Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.