Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.alicebot.server.net
Class JettyWrapper  view JettyWrapper download JettyWrapper.java

java.lang.Object
  extended byorg.alicebot.server.net.JettyWrapper
All Implemented Interfaces:
AliceCompatibleHttpServer, org.alicebot.server.core.BotProcess, java.lang.Runnable

public class JettyWrapper
extends java.lang.Object
implements AliceCompatibleHttpServer


Field Summary
private static org.mortbay.jetty.Server jetty
           
 
Constructor Summary
JettyWrapper()
           
 
Method Summary
 void configure(java.lang.String s)
           
 org.mortbay.jetty.Server getServer()
           
 void run()
          This method will be called by whoever wishes to run your class implementing Runnable.
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jetty

private static org.mortbay.jetty.Server jetty
Constructor Detail

JettyWrapper

public JettyWrapper()
Method Detail

configure

public void configure(java.lang.String s)
               throws java.io.IOException
Specified by:
configure in interface AliceCompatibleHttpServer

run

public void run()
Description copied from interface: java.lang.Runnable
This method will be called by whoever wishes to run your class implementing Runnable. Note that there are no restrictions on what you are allowed to do in the run method, except that you cannot throw a checked exception.

Specified by:
run in interface AliceCompatibleHttpServer

shutdown

public void shutdown()
Specified by:
shutdown in interface org.alicebot.server.core.BotProcess

getServer

public org.mortbay.jetty.Server getServer()