org.utgenome.shell
Class UTGBPortable

java.lang.Object
  extended by org.utgenome.shell.UTGBPortable

public class UTGBPortable
extends Object

The stand-alone UTGB server launcher

Author:
leo

Constructor Summary
UTGBPortable(String[] args)
          Create an instance of the UTGBServer
UTGBPortable(UTGBPortableConfig config)
           
 
Method Summary
 void addServerListener(ServerListener listener)
           
static void main(String[] args)
          entry point of the UTGBServer
protected  void runInCUIMode()
           
protected  void runInGUIMode()
           
 void start()
          Starts the web server
 void start(int terminationTime, TimeUnit timeUnit)
           
 void startTomcatServer(UTGBPortableConfig utgbPortableConfig)
          starts the Tomcat server
 void stopTomcatServer(UTGBPortableConfig config)
          stops the Tomcat server
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UTGBPortable

public UTGBPortable(String[] args)
             throws org.xerial.util.opt.OptionParserException
Create an instance of the UTGBServer

Parameters:
args - command-line arguments
Throws:
org.xerial.util.opt.OptionParserException

UTGBPortable

public UTGBPortable(UTGBPortableConfig config)
Method Detail

main

public static void main(String[] args)
entry point of the UTGBServer

Parameters:
args -

addServerListener

public void addServerListener(ServerListener listener)

start

public void start()
           throws org.xerial.core.XerialException
Starts the web server

Throws:
org.xerial.core.XerialException

start

public void start(int terminationTime,
                  TimeUnit timeUnit)
           throws org.xerial.core.XerialException
Throws:
org.xerial.core.XerialException

runInGUIMode

protected void runInGUIMode()

runInCUIMode

protected void runInCUIMode()
                     throws org.xerial.core.XerialException
Throws:
org.xerial.core.XerialException

startTomcatServer

public void startTomcatServer(UTGBPortableConfig utgbPortableConfig)
                       throws org.xerial.core.XerialException
starts the Tomcat server

Throws:
org.xerial.core.XerialException

stopTomcatServer

public void stopTomcatServer(UTGBPortableConfig config)
stops the Tomcat server



Copyright © 2007-2012 utgenome.org. All Rights Reserved.