org.apache.geronimo.jetty6.handler
Class AbstractImmutableHandler

java.lang.Object
  extended by org.mortbay.component.AbstractLifeCycle
      extended by org.mortbay.jetty.handler.AbstractHandler
          extended by org.mortbay.jetty.handler.AbstractHandlerContainer
              extended by org.apache.geronimo.jetty6.handler.AbstractImmutableHandler
All Implemented Interfaces:
org.mortbay.component.LifeCycle, org.mortbay.jetty.Handler, org.mortbay.jetty.HandlerContainer
Direct Known Subclasses:
ComponentContextHandler, InstanceContextHandler, ThreadClassloaderHandler, UserTransactionHandler

public abstract class AbstractImmutableHandler
extends org.mortbay.jetty.handler.AbstractHandlerContainer


Field Summary
protected  org.mortbay.jetty.handler.AbstractHandler next
           
 
Fields inherited from class org.mortbay.jetty.handler.AbstractHandler
_string
 
Fields inherited from interface org.mortbay.jetty.Handler
ALL, DEFAULT, ERROR, FORWARD, INCLUDE, REQUEST
 
Constructor Summary
protected AbstractImmutableHandler(org.mortbay.jetty.handler.AbstractHandler next)
           
 
Method Summary
 void addHandler(org.mortbay.jetty.Handler handler)
           
protected  void doStart()
           
protected  void doStop()
           
protected  Object expandChildren(Object list, Class byClass)
          this is basically the implementation from HandlerWrapper.
 void lifecycleCommand(LifecycleCommand lifecycleCommand)
           
 void setServer(org.mortbay.jetty.Server server)
           
 
Methods inherited from class org.mortbay.jetty.handler.AbstractHandlerContainer
expandHandler, getChildHandlerByClass, getChildHandlers, getChildHandlersByClass
 
Methods inherited from class org.mortbay.jetty.handler.AbstractHandler
destroy, getServer, toString
 
Methods inherited from class org.mortbay.component.AbstractLifeCycle
isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, 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.component.LifeCycle
isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, start, stop
 
Methods inherited from interface org.mortbay.jetty.Handler
handle
 

Field Detail

next

protected final org.mortbay.jetty.handler.AbstractHandler next
Constructor Detail

AbstractImmutableHandler

protected AbstractImmutableHandler(org.mortbay.jetty.handler.AbstractHandler next)
Method Detail

doStart

protected void doStart()
                throws Exception
Overrides:
doStart in class org.mortbay.jetty.handler.AbstractHandler
Throws:
Exception

doStop

protected void doStop()
               throws Exception
Overrides:
doStop in class org.mortbay.jetty.handler.AbstractHandler
Throws:
Exception

setServer

public void setServer(org.mortbay.jetty.Server server)
Specified by:
setServer in interface org.mortbay.jetty.Handler
Overrides:
setServer in class org.mortbay.jetty.handler.AbstractHandler

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.

Overrides:
expandChildren in class org.mortbay.jetty.handler.AbstractHandlerContainer
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


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