info.sswap.http
Class SSWAPStandalone

java.lang.Object
  extended by info.sswap.http.SSWAPStandalone

public class SSWAPStandalone
extends java.lang.Object

The main class of SSWAP HTTP API. It is used only if HTTP API is in standalone mode (i.e., deployed without a servlet container and using its internal HTTP server). This class' main method can be run with one optional parameter -- the port number. If no port number is specified, then 8080 is assumed.

Author:
Blazej Bulka

Field Summary
private static int DEFAULT_PORT
          The default port number
 
Constructor Summary
SSWAPStandalone()
           
 
Method Summary
static void main(java.lang.String[] args)
          The entry point to SSWAP HTTP API when used in standalone mode (i.e., deployed without a servlet container and using its internal HTTP server).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PORT

private static final int DEFAULT_PORT
The default port number

See Also:
Constant Field Values
Constructor Detail

SSWAPStandalone

public SSWAPStandalone()
Method Detail

main

public static void main(java.lang.String[] args)
The entry point to SSWAP HTTP API when used in standalone mode (i.e., deployed without a servlet container and using its internal HTTP server).

Parameters:
args - the command-line arguments to the program. This program has only one optional parameter -- the port number on which the server will be run. If no parameter is specified, it will run on port 8080. (If an invalid port number is specified, the program will terminate.)


Copyright (c) 2010, iPlant Collaborative, University of Arizona, Cold Spring Harbor Laboratories, University of Texas at Austin.