org.apache.geronimo.jetty6
Class InternalJettyServletHolder

java.lang.Object
  extended by java.util.AbstractMap
      extended by org.mortbay.jetty.servlet.Holder
          extended by org.mortbay.jetty.servlet.ServletHolder
              extended by org.apache.geronimo.jetty6.InternalJettyServletHolder
All Implemented Interfaces:
Serializable, Comparable, Map, org.mortbay.util.LifeCycle

public class InternalJettyServletHolder
extends org.mortbay.jetty.servlet.ServletHolder

See Also:
Serialized Form

Nested Class Summary
 class InternalJettyServletHolder.StartCommand
           
 class InternalJettyServletHolder.StopCommand
           
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
 
Fields inherited from class org.mortbay.jetty.servlet.Holder
_class, _className, _displayName, _httpHandler, _initParams, _name
 
Constructor Summary
InternalJettyServletHolder(AbstractImmutableHandler lifecycleChain, Subject runAsSubject, JettyServletRegistration servletRegistration)
           
 
Method Summary
 void destroyInstance(Object o)
           
 void doStart()
           
 void doStop()
           
 void handle(ServletRequest request, ServletResponse response)
          Service a request with this servlet.
 Object newInstance()
           
 
Methods inherited from class org.mortbay.jetty.servlet.ServletHolder
compareTo, equals, getInitOrder, getRunAs, getServlet, getServletContext, getUserRoleLink, hashCode, setInitOrder, setRunAs, setUserRoleLink, start, stop
 
Methods inherited from class org.mortbay.jetty.servlet.Holder
entrySet, get, getClassName, getDisplayName, getHttpContext, getHttpHandler, getInitParameter, getInitParameterNames, getInitParameters, getName, isStarted, put, setDisplayName, setInitParameter, toString
 
Methods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, isEmpty, keySet, putAll, remove, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InternalJettyServletHolder

public InternalJettyServletHolder(AbstractImmutableHandler lifecycleChain,
                                  Subject runAsSubject,
                                  JettyServletRegistration servletRegistration)
Method Detail

handle

public void handle(ServletRequest request,
                   ServletResponse response)
            throws ServletException,
                   UnavailableException,
                   IOException
Service a request with this servlet. Set the ThreadLocal to hold the current JettyServletHolder.

Overrides:
handle in class org.mortbay.jetty.servlet.ServletHolder
Throws:
ServletException
UnavailableException
IOException

newInstance

public Object newInstance()
                   throws InstantiationException,
                          IllegalAccessException
Overrides:
newInstance in class org.mortbay.jetty.servlet.Holder
Throws:
InstantiationException
IllegalAccessException

destroyInstance

public void destroyInstance(Object o)
                     throws Exception
Throws:
Exception

doStart

public void doStart()
             throws Exception
Throws:
Exception

doStop

public void doStop()


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.