net.sf.ooweb.http
Interface Server

All Known Implementing Classes:
AbstractServer, OowebServer

public interface Server

PygmyServer

Since:
0.7
Author:
Darren Davison

Method Summary
 void addController(java.lang.Object object)
          Register a controller.
 void setControllers(java.util.List controllers)
          Register a List of controllers, each of which must carry the @Controller annotation at the class level
 void start()
          Start with default config
 void stop()
          Stop the server gracefully
 

Method Detail

setControllers

void setControllers(java.util.List controllers)
Register a List of controllers, each of which must carry the @Controller annotation at the class level


addController

void addController(java.lang.Object object)
Register a controller. This object must carry the @Controller annotation at the class level.


start

void start()
           throws java.lang.Exception
Start with default config

Throws:
java.lang.Exception

stop

void stop()
Stop the server gracefully



Copyright (C) 2005-2007 OOWeb Authors.