edu.washington.cs.supple.net.server
Class AbstractService

java.lang.Object
  extended byedu.washington.cs.supple.net.server.AbstractService
Direct Known Subclasses:
RMIService

public abstract class AbstractService
extends java.lang.Object

Abstract superclass for service handlers. Service handlers implement application serving for particular protocols - RMI, HTTP, SOAP, etc...

Author:
dbc1

Field Summary
protected  java.util.logging.Logger logger
           
protected  Server server
           
 
Constructor Summary
protected AbstractService(Server server, java.lang.String loggingPackage, java.lang.String resourceBundle)
           
 
Method Summary
abstract  void start()
          Start the service.
abstract  void stop()
          Stop the service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

server

protected final Server server

logger

protected final java.util.logging.Logger logger
Constructor Detail

AbstractService

protected AbstractService(Server server,
                          java.lang.String loggingPackage,
                          java.lang.String resourceBundle)
Method Detail

start

public abstract void start()
                    throws java.lang.Exception
Start the service.

Throws:
java.lang.Exception

stop

public abstract void stop()
                   throws java.lang.Exception
Stop the service.

Throws:
java.lang.Exception