public class BatheBooter extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
BATHE_EXTERNAL_CLASSPATH |
protected File |
jar |
protected String[] |
passingArgs |
protected String |
runnerClass |
| Constructor and Description |
|---|
BatheBooter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
attemptToGetJumpClassFromManifest() |
void |
exec(ClassLoader loader,
File runnable,
String runnerClass,
String[] args)
Runs the main runner class in the specified class loader, passing in
the WAR being run as well as the specified command line arguments.
|
protected File |
getRunFile() |
protected URL[] |
getSystemClassPath()
Returns the URLs that make up the system class path.
|
static void |
main(String[] args) |
protected void |
parseCommandLine(String[] args) |
void |
run(String[] args) |
void |
runWithLoader(ClassLoader loader,
File runnable,
String runnerClass,
String[] args) |
protected static final String BATHE_EXTERNAL_CLASSPATH
protected String runnerClass
protected File jar
protected String[] passingArgs
protected void parseCommandLine(String[] args)
protected void attemptToGetJumpClassFromManifest()
public static void main(String[] args) throws IOException
IOExceptionpublic void run(String[] args) throws IOException
IOExceptionpublic void runWithLoader(ClassLoader loader, File runnable, String runnerClass, String[] args) throws IOException
IOExceptionpublic void exec(ClassLoader loader, File runnable, String runnerClass, String[] args)
protected File getRunFile()
protected URL[] getSystemClassPath()
Copyright © 2014. All Rights Reserved.