org.eclipse.jetty.start
Class Main

java.lang.Object
  extended by 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. This can be overridden with the START system property.


Constructor Summary
Main()
           
 
Method Summary
static void close(InputStream stream)
           
static void close(Reader reader)
           
 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(Reader reader)

close

public static void close(InputStream stream)

start

public void start(List<String> xmls)
           throws FileNotFoundException
Throws:
FileNotFoundException

stop

public void stop(int port,
                 String key)
Stop a running jetty instance.



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