org.apache.geronimo.jetty6
Class AbstractPreHandler

java.lang.Object
  extended by org.apache.geronimo.jetty6.AbstractPreHandler
All Implemented Interfaces:
PreHandler, org.mortbay.component.LifeCycle, org.mortbay.jetty.Handler
Direct Known Subclasses:
AbstractClusteredPreHandler

public abstract class AbstractPreHandler
extends Object
implements PreHandler


Field Summary
protected  org.mortbay.jetty.Handler next
           
 
Fields inherited from interface org.mortbay.jetty.Handler
ALL, DEFAULT, ERROR, FORWARD, INCLUDE, REQUEST
 
Constructor Summary
AbstractPreHandler()
           
 
Method Summary
 void destroy()
           
 org.mortbay.jetty.Server getServer()
           
 boolean isFailed()
           
 boolean isRunning()
           
 boolean isStarted()
           
 boolean isStarting()
           
 boolean isStopped()
           
 boolean isStopping()
           
 void setNextHandler(org.mortbay.jetty.Handler next)
           
 void setServer(org.mortbay.jetty.Server server)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.mortbay.jetty.Handler
handle
 

Field Detail

next

protected org.mortbay.jetty.Handler next
Constructor Detail

AbstractPreHandler

public AbstractPreHandler()
Method Detail

setNextHandler

public final void setNextHandler(org.mortbay.jetty.Handler next)
Specified by:
setNextHandler in interface PreHandler

getServer

public final org.mortbay.jetty.Server getServer()
Specified by:
getServer in interface org.mortbay.jetty.Handler

isFailed

public final boolean isFailed()
Specified by:
isFailed in interface org.mortbay.component.LifeCycle

isRunning

public final boolean isRunning()
Specified by:
isRunning in interface org.mortbay.component.LifeCycle

isStarted

public final boolean isStarted()
Specified by:
isStarted in interface org.mortbay.component.LifeCycle

isStarting

public final boolean isStarting()
Specified by:
isStarting in interface org.mortbay.component.LifeCycle

isStopping

public final boolean isStopping()
Specified by:
isStopping in interface org.mortbay.component.LifeCycle

isStopped

public boolean isStopped()
Specified by:
isStopped in interface org.mortbay.component.LifeCycle

setServer

public final void setServer(org.mortbay.jetty.Server server)
Specified by:
setServer in interface org.mortbay.jetty.Handler

start

public final void start()
                 throws Exception
Specified by:
start in interface org.mortbay.component.LifeCycle
Throws:
Exception

stop

public final void stop()
                throws Exception
Specified by:
stop in interface org.mortbay.component.LifeCycle
Throws:
Exception

destroy

public void destroy()
Specified by:
destroy in interface org.mortbay.jetty.Handler


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.