org.mortbay.jetty.handler
Class AbstractHandler

java.lang.Object
  extended by org.mortbay.component.AbstractLifeCycle
      extended by org.mortbay.jetty.handler.AbstractHandler
All Implemented Interfaces:
org.mortbay.component.LifeCycle, Handler
Direct Known Subclasses:
AbstractHandlerContainer, DefaultHandler, ErrorHandler, ResourceHandler, ServletHandler

public abstract class AbstractHandler
extends org.mortbay.component.AbstractLifeCycle
implements Handler

AbstractHandler.

Author:
gregw

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.mortbay.component.LifeCycle
org.mortbay.component.LifeCycle.Listener
 
Field Summary
protected  String _string
           
 
Fields inherited from class org.mortbay.component.AbstractLifeCycle
_listeners
 
Fields inherited from interface org.mortbay.jetty.Handler
ALL, DEFAULT, ERROR, FORWARD, INCLUDE, REQUEST
 
Constructor Summary
AbstractHandler()
           
 
Method Summary
 void destroy()
           
protected  void doStart()
           
protected  void doStop()
           
 Server getServer()
           
 void setServer(Server server)
           
 String toString()
           
 
Methods inherited from class org.mortbay.component.AbstractLifeCycle
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mortbay.jetty.Handler
handle
 
Methods inherited from interface org.mortbay.component.LifeCycle
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
 

Field Detail

_string

protected String _string
Constructor Detail

AbstractHandler

public AbstractHandler()
Method Detail

doStart

protected void doStart()
                throws Exception
Overrides:
doStart in class org.mortbay.component.AbstractLifeCycle
Throws:
Exception

doStop

protected void doStop()
               throws Exception
Overrides:
doStop in class org.mortbay.component.AbstractLifeCycle
Throws:
Exception

toString

public String toString()
Overrides:
toString in class Object

setServer

public void setServer(Server server)
Specified by:
setServer in interface Handler

getServer

public Server getServer()
Specified by:
getServer in interface Handler

destroy

public void destroy()
Specified by:
destroy in interface Handler


Copyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.