## org.eclipse.jetty.start
Class Main

    java.lang.Object
      org.eclipse.jetty.start.Main

    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.

Constructor Summary
`Main()`

Method Summary
`static void` `close(Closeable c)`
`void` `invokeMain(ClassLoader classloader, String classname, List<String> args)`
`static void` `main(String[] args)`
`void` `parseCommandLine(String[] args)`
`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`

Constructor Detail

### Main

    public Main()

Method Detail

### main

    public static void main(String[] args)

### parseCommandLine

    public void parseCommandLine(String[] args)

### invokeMain

    public void invokeMain(ClassLoader classloader,
                           String classname,
                           List<String> args)
                    throws IllegalAccessException,
                           InvocationTargetException,
                           NoSuchMethodException,
                           ClassNotFoundException

  Throws:
    `IllegalAccessException`
    `InvocationTargetException`
    `NoSuchMethodException`
    `ClassNotFoundException`

### close

    public static void close(Closeable c)

### start

    public void start(List<String> xmls)
               throws FileNotFoundException,
                      IOException,
                      InterruptedException

  Throws:
    `FileNotFoundException`
    `IOException`
    `InterruptedException`

### stop

    public void stop(int port,
                     String key)

  Stop a running jetty instance.

Copyright © 1995-2010 Mort Bay Consulting. All Rights Reserved.