public class Main extends Object
Main start class. This class is intended to be the main class listed in the MANIFEST.MF of the start.jar archive. It allows an application to be started with the command "java -jar start.jar".
The behaviour of Main is controlled by the parsing of the Config
"org/eclipse/start/start.config" file
obtained as a resource or file.
Modifier and Type | Method and Description |
---|---|
static void |
close(Closeable c) |
List<String> |
expandCommandLine(String[] args) |
void |
invokeMain(ClassLoader classloader,
String classname,
List<String> args) |
static void |
main(String[] args) |
List<String> |
processCommandLine(List<String> arguments) |
void |
start(List<String> xmls) |
void |
stop(int port,
String key)
Stop a running jetty instance.
|
void |
stop(int port,
String key,
int timeout) |
public static void main(String[] args)
public List<String> expandCommandLine(String[] args) throws Exception
Exception
public List<String> processCommandLine(List<String> arguments) throws Exception
Exception
public void invokeMain(ClassLoader classloader, String classname, List<String> args) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException, ClassNotFoundException
public static void close(Closeable c)
public void start(List<String> xmls) throws IOException, InterruptedException
IOException
InterruptedException
public void stop(int port, String key)
public void stop(int port, String key, int timeout)
Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.