com.sun.grizzly.standalone.comet
Class Comet
java.lang.Object
com.sun.grizzly.standalone.StandaloneMainUtil
com.sun.grizzly.standalone.servlet.ServletLauncher
com.sun.grizzly.standalone.comet.Comet
public class Comet
- extends ServletLauncher
Basic startup class used when Grizzly standalone is used
- Author:
- Jeanfrancois Arcand
Constructor Summary |
Comet()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Comet
public Comet()
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
createSelectorThread
public SelectorThread createSelectorThread(String[] args)
throws Exception
- Description copied from class:
StandaloneMainUtil
- Create a single
SelectorThread
and configure it using the
command line passed arguments. This method will invoke StandaloneMainUtil.parseOptions(java.lang.String[])
,
then StandaloneMainUtil.parseApplicationLocation(java.lang.String[])
, StandaloneMainUtil.appendWarContentToClassPath(java.lang.String)
and
finally StandaloneMainUtil.configureAdapter(com.sun.grizzly.http.SelectorThread)
- Overrides:
createSelectorThread
in class StandaloneMainUtil
- Parameters:
args
- The command line arguments.
- Returns:
- An instance of ready to start SelectorThread
- Throws:
Exception
Copyright © 2012 Oracle Corporation. All Rights Reserved.