com.sun.jersey.samples.optimisticconcurrency
Class Main

java.lang.Object
  extended by com.sun.jersey.samples.optimisticconcurrency.Main

public class Main
extends java.lang.Object

Author:
Paul.Sandosz@Sun.Com

Field Summary
static java.net.URI BASE_URI
          The base URI of the Web application.
 
Constructor Summary
Main()
           
 
Method Summary
static void main(java.lang.String[] args)
           
protected static org.glassfish.grizzly.http.server.HttpServer startServer()
          Start the Grizzly HTTP Container.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BASE_URI

public static final java.net.URI BASE_URI
The base URI of the Web application.

Constructor Detail

Main

public Main()
Method Detail

startServer

protected static org.glassfish.grizzly.http.server.HttpServer startServer()
                                                                   throws java.io.IOException
Start the Grizzly HTTP Container.

Returns:
SelectorThread the Grizzly selector thread.
Throws:
java.io.IOException - if there is an error starting the Grizzly HTTP container.

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2011 Oracle Corporation. All Rights Reserved.