com.sun.grizzly.webserver
Class WebServer

java.lang.Object
  extended by com.sun.grizzly.standalone.StandaloneMainUtil
      extended by com.sun.grizzly.webserver.WebServer

public class WebServer
extends StandaloneMainUtil

Basic startup class used when Grizzly standalone is used

Author:
Jeanfrancois Arcand

Field Summary
 
Fields inherited from class com.sun.grizzly.standalone.StandaloneMainUtil
ADAPTER, SELECTOR_THREAD
 
Constructor Summary
WebServer()
           
 
Method Summary
 Adapter configureAdapter(SelectorThread st)
           
 SelectorThread createSelectorThread(String[] args)
           
static void main(String[] args)
           
 String parseApplicationLocation(String[] args)
           
 boolean parseOptions(String[] args)
           
 void printHelpAndExit()
           
 
Methods inherited from class com.sun.grizzly.standalone.StandaloneMainUtil
appendWarContentToClassPath, setPort, start, startSelectorThread, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebServer

public WebServer()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

createSelectorThread

public SelectorThread createSelectorThread(String[] args)
                                    throws Exception
Overrides:
createSelectorThread in class StandaloneMainUtil
Throws:
Exception

printHelpAndExit

public void printHelpAndExit()
Specified by:
printHelpAndExit in class StandaloneMainUtil

parseOptions

public boolean parseOptions(String[] args)
Specified by:
parseOptions in class StandaloneMainUtil

configureAdapter

public Adapter configureAdapter(SelectorThread st)
Specified by:
configureAdapter in class StandaloneMainUtil

parseApplicationLocation

public String parseApplicationLocation(String[] args)
Specified by:
parseApplicationLocation in class StandaloneMainUtil


Copyright © 2009 SUN Microsystems. All Rights Reserved.