|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.jetty.start.Main
public class Main
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.
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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
IllegalAccessException
InvocationTargetException
NoSuchMethodException
ClassNotFoundException
public static void close(Closeable c)
public void start(List<String> xmls) throws FileNotFoundException, IOException, InterruptedException
FileNotFoundException
IOException
InterruptedException
public void stop(int port, String key)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |