com.itmill.toolkit.launcher
Class ITMillToolkitWebMode

java.lang.Object
  extended by com.itmill.toolkit.launcher.ITMillToolkitWebMode

public class ITMillToolkitWebMode
extends Object

Class for running Jetty servlet container within Eclipse project.


Constructor Summary
ITMillToolkitWebMode()
           
 
Method Summary
static void main(String[] args)
          Main function for running Jetty.
protected static Map parseArguments(String[] args)
          Parse all command line arguments into a map.
protected static String runServer(Map serverArgs, String mode)
          Run the server with specified arguments.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ITMillToolkitWebMode

public ITMillToolkitWebMode()
Method Detail

main

public static void main(String[] args)
Main function for running Jetty. Command line Arguments are passed through to Jetty, see runServer method for options.

Parameters:
args -

runServer

protected static String runServer(Map serverArgs,
                                  String mode)
Run the server with specified arguments.

Parameters:
serverArgs -
Returns:

parseArguments

protected static Map parseArguments(String[] args)
Parse all command line arguments into a map. Arguments format "key=value" are put into map.

Parameters:
args -
Returns:
map of arguments key value pairs.


Copyright © 2000-2009 IT Mill Ltd. All Rights Reserved.