org.eclipse.jetty.start
类 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.


方法摘要
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)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

方法详细信息

main

public static void main(String[] args)

expandCommandLine

public List<String> expandCommandLine(String[] args)
                               throws Exception
抛出:
Exception

processCommandLine

public List<String> processCommandLine(List<String> arguments)
                                throws Exception
抛出:
Exception

invokeMain

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

close

public static void close(Closeable c)

start

public void start(List<String> xmls)
           throws IOException,
                  InterruptedException
抛出:
IOException
InterruptedException

stop

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


stop

public void stop(int port,
                 String key,
                 int timeout)


Copyright © 2013. All Rights Reserved.