org.apache.geronimo.jetty6.handler
Class AbstractImmutableHandler
java.lang.Object
org.apache.geronimo.jetty6.handler.AbstractImmutableHandler
- All Implemented Interfaces:
- org.mortbay.component.LifeCycle, org.mortbay.jetty.Handler
- Direct Known Subclasses:
- ComponentContextHandler, InstanceContextHandler, ThreadClassloaderHandler, UserTransactionHandler
public abstract class AbstractImmutableHandler
- extends Object
- implements org.mortbay.jetty.Handler
Field Summary |
protected org.mortbay.jetty.Handler |
next
|
Fields inherited from interface org.mortbay.jetty.Handler |
ALL, DEFAULT, ERROR, FORWARD, INCLUDE, REQUEST |
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 |
next
protected final org.mortbay.jetty.Handler next
AbstractImmutableHandler
protected AbstractImmutableHandler(org.mortbay.jetty.Handler next)
doStart
protected void doStart()
throws Exception
- Throws:
Exception
doStop
protected void doStop()
throws Exception
- Throws:
Exception
setServer
public void setServer(org.mortbay.jetty.Server server)
- Specified by:
setServer
in interface org.mortbay.jetty.Handler
getServer
public org.mortbay.jetty.Server getServer()
- Specified by:
getServer
in interface org.mortbay.jetty.Handler
destroy
public void destroy()
- Specified by:
destroy
in interface org.mortbay.jetty.Handler
lifecycleCommand
public void lifecycleCommand(LifecycleCommand lifecycleCommand)
throws Exception
- Throws:
Exception
addHandler
public void addHandler(org.mortbay.jetty.Handler handler)
expandChildren
protected Object expandChildren(Object list,
Class byClass)
- this is basically the implementation from HandlerWrapper.
- Parameters:
list
- partial list of handlers matching byClass (may be null)byClass
- class of the handlers we want
- Returns:
- extended list of handlers matching byClass
start
public void start()
throws Exception
- Specified by:
start
in interface org.mortbay.component.LifeCycle
- Throws:
Exception
stop
public void stop()
throws Exception
- Specified by:
stop
in interface org.mortbay.component.LifeCycle
- Throws:
Exception
isRunning
public boolean isRunning()
- Specified by:
isRunning
in interface org.mortbay.component.LifeCycle
isStarted
public boolean isStarted()
- Specified by:
isStarted
in interface org.mortbay.component.LifeCycle
isStarting
public boolean isStarting()
- Specified by:
isStarting
in interface org.mortbay.component.LifeCycle
isStopping
public boolean isStopping()
- Specified by:
isStopping
in interface org.mortbay.component.LifeCycle
isStopped
public boolean isStopped()
- Specified by:
isStopped
in interface org.mortbay.component.LifeCycle
isFailed
public boolean isFailed()
- Specified by:
isFailed
in interface org.mortbay.component.LifeCycle
Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.