public final class Launcher extends Object
This application requires just the one argument, which denotes the path to the launch script. Each launch script must be a Java properties file with following entries:
"main" "classpath.<integer>" "argument.<integer>" | Modifier and Type | Method and Description |
|---|---|
static void |
launch(List<File> classpath,
String mainClass,
List<String> arguments)
Launches the target application.
|
static void |
launch(Properties properties)
Launches the target application.
|
static void |
main(String... args)
The program entry.
|
public static void main(String... args) throws Throwable
args - path to the launch scriptLauncherException - if error occurred while launching the applicationThrowable - if error occurred in the target applicationpublic static void launch(Properties properties) throws Throwable
properties - the launch propertiesThrowable - if error occurred while launchingpublic static void launch(List<File> classpath, String mainClass, List<String> arguments) throws Throwable
classpath - the application class pathmainClass - the application entry classarguments - the application argumentsThrowable - if error occurred while launchingCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.