net.commerce.zocalo.experiment
Class ExperimentServer

java.lang.Object
  extended by net.commerce.zocalo.service.ServerUtil
      extended by net.commerce.zocalo.service.ServletUtil
          extended by net.commerce.zocalo.service.CometServer
              extended by net.commerce.zocalo.experiment.ExperimentServer

public class ExperimentServer
extends CometServer

Attempt at a super class for Experiment sessions; not currently in use.


Nested Class Summary
static class ExperimentServer.ExperimentBayeuxService
           
 
Field Summary
 
Fields inherited from class net.commerce.zocalo.service.CometServer
cometdServlet
 
Fields inherited from class net.commerce.zocalo.service.ServletUtil
servletLock
 
Fields inherited from class net.commerce.zocalo.service.ServerUtil
DEFAULT_DB_FILE_KEY, DEFAULT_DB_URL_KEY
 
Method Summary
protected  void addExtraResourceHandlers(org.mortbay.jetty.handler.ContextHandlerCollection handlers)
           
 void addServlets(org.mortbay.jetty.servlet.Context context)
           
static void main(java.lang.String[] args)
           
protected  void startBayeuxService()
           
 
Methods inherited from class net.commerce.zocalo.service.CometServer
addCometServletHandler, finishInitialization
 
Methods inherited from class net.commerce.zocalo.service.ServletUtil
addContextHandlers, addResourceHandler, addServlet, createServerWithListener, initializeHandlers, initializeServerTopLevel, initializeServerTopLevel, initializeServerTopLevelWithCGI, initialLogContext, join, runJettyServer, start
 
Methods inherited from class net.commerce.zocalo.service.ServerUtil
readConfigFile, readDBConfigFromProps
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

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

addServlets

public void addServlets(org.mortbay.jetty.servlet.Context context)
Specified by:
addServlets in class ServletUtil

startBayeuxService

protected void startBayeuxService()
Specified by:
startBayeuxService in class CometServer

addExtraResourceHandlers

protected void addExtraResourceHandlers(org.mortbay.jetty.handler.ContextHandlerCollection handlers)
Overrides:
addExtraResourceHandlers in class ServletUtil