com.sun.grizzly.standalone.servlet
Class ServletLauncher

java.lang.Object
  extended by com.sun.grizzly.standalone.StandaloneMainUtil
      extended by com.sun.grizzly.standalone.servlet.ServletLauncher

public class ServletLauncher
extends StandaloneMainUtil

Basic startup class used when Grizzly standalone is used

Author:
Jeanfrancois Arcand

Field Summary
protected  String applicationLoc
           
 
Fields inherited from class com.sun.grizzly.standalone.StandaloneMainUtil
ADAPTER, SELECTOR_THREAD
 
Constructor Summary
ServletLauncher()
           
 
Method Summary
 com.sun.grizzly.tcp.Adapter configureAdapter(com.sun.grizzly.http.SelectorThread st)
           
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, createSelectorThread, setPort, start, startSelectorThread, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

applicationLoc

protected String applicationLoc
Constructor Detail

ServletLauncher

public ServletLauncher()
Method Detail

main

public static void main(String[] args)
                 throws Exception
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 com.sun.grizzly.tcp.Adapter configureAdapter(com.sun.grizzly.http.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.