org.glassfish.grizzly.launcher.web.servlet
Class ServletLauncher

java.lang.Object
  extended by org.glassfish.grizzly.web.standalone.StandaloneMainUtil
      extended by org.glassfish.grizzly.launcher.web.servlet.ServletLauncher

public class ServletLauncher
extends StandaloneMainUtil

Basic startup class used when Grizzly standalone is used

Author:
Jeanfrancois Arcand

Constructor Summary
ServletLauncher()
           
 
Method Summary
 Adapter configureAdapter(WebFilterConfig wf)
           
 WebFilter createWebFilter(String[] args)
           
static void main(String[] args)
           
 String parseApplicationLocation(String[] args)
           
 boolean parseOptions(String[] args)
           
 void printHelpAndExit()
           
 
Methods inherited from class org.glassfish.grizzly.web.standalone.StandaloneMainUtil
appendWarContentToClassPath, setPort, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletLauncher

public ServletLauncher()
Method Detail

main

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

createWebFilter

public WebFilter createWebFilter(String[] args)
                          throws Exception
Overrides:
createWebFilter 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(WebFilterConfig wf)
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.