net.sf.ooweb.http.pygmy
Class OowebServer

java.lang.Object
  extended by net.sf.ooweb.http.AbstractServer
      extended by net.sf.ooweb.http.pygmy.OowebServer
All Implemented Interfaces:
Server

public class OowebServer
extends AbstractServer

PygmyServer

Since:
0.7
Author:
Darren Davison

Field Summary
 
Fields inherited from class net.sf.ooweb.http.AbstractServer
DEFAULT_QUIP, logger, QUIP_FILE, quipList
 
Constructor Summary
OowebServer()
           
OowebServer(java.io.File config)
           
 
Method Summary
 void start()
          subclasses usually will want to override this method to actually start the server.
 void stop()
          subclasses can optionally override the stop method to shutdown the server gracefully.
 
Methods inherited from class net.sf.ooweb.http.AbstractServer
addController, getCache, getQuip, getRegistry, initialiseCache, setControllers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OowebServer

public OowebServer()
            throws java.io.IOException
Throws:
java.io.IOException

OowebServer

public OowebServer(java.io.File config)
            throws java.io.IOException
Parameters:
config - a URL to the properties file that contains your additional or overriding properties.
Throws:
java.io.IOException
Method Detail

start

public void start()
           throws java.lang.Exception
Description copied from class: AbstractServer
subclasses usually will want to override this method to actually start the server. The implementation here is empty.

Specified by:
start in interface Server
Overrides:
start in class AbstractServer
Throws:
java.lang.Exception
See Also:
Server.start()

stop

public void stop()
Description copied from class: AbstractServer
subclasses can optionally override the stop method to shutdown the server gracefully. The implementation here does nothing

Specified by:
stop in interface Server
Overrides:
stop in class AbstractServer
See Also:
Server.stop()


Copyright (C) 2005-2007 OOWeb Authors.