org.apache.geronimo.jetty
Class JettyPOJOWebServiceHolder

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.jetty.JettyPOJOWebServiceHolder
All Implemented Interfaces:
Serializable, Comparable, Map, org.apache.geronimo.gbean.GBeanLifecycle, org.mortbay.util.LifeCycle

public class JettyPOJOWebServiceHolder
extends org.mortbay.jetty.servlet.ServletHolder
implements org.apache.geronimo.gbean.GBeanLifecycle

This is intended to hold the web service stack for an axis POJO web service. It is starting life as a copy of JettyServletHolder.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry
 
Field Summary
static org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
           
 
Fields inherited from class org.mortbay.jetty.servlet.Holder
_class, _className, _displayName, _httpHandler, _initParams, _name
 
Constructor Summary
JettyPOJOWebServiceHolder()
           
JettyPOJOWebServiceHolder(String pojoClassName, String servletName, Map initParams, Integer loadOnStartup, Set servletMappings, org.apache.geronimo.webservices.WebServiceContainerFactory webServiceContainerFactory, org.mortbay.jetty.servlet.ServletHolder previous, JettyServletRegistration context)
           
 
Method Summary
 void doFail()
           
 void doStart()
           
 void doStop()
           
static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
           
 String getServletName()
           
 void handle(ServletRequest request, ServletResponse response)
          Service a request with this servlet.
 
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, newInstance, 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
 

Field Detail

GBEAN_INFO

public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
Constructor Detail

JettyPOJOWebServiceHolder

public JettyPOJOWebServiceHolder()

JettyPOJOWebServiceHolder

public JettyPOJOWebServiceHolder(String pojoClassName,
                                 String servletName,
                                 Map initParams,
                                 Integer loadOnStartup,
                                 Set servletMappings,
                                 org.apache.geronimo.webservices.WebServiceContainerFactory webServiceContainerFactory,
                                 org.mortbay.jetty.servlet.ServletHolder previous,
                                 JettyServletRegistration context)
                          throws Exception
Throws:
Exception
Method Detail

getServletName

public String getServletName()

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

doStart

public void doStart()
             throws Exception
Specified by:
doStart in interface org.apache.geronimo.gbean.GBeanLifecycle
Throws:
Exception

doStop

public void doStop()
            throws Exception
Specified by:
doStop in interface org.apache.geronimo.gbean.GBeanLifecycle
Throws:
Exception

doFail

public void doFail()
Specified by:
doFail in interface org.apache.geronimo.gbean.GBeanLifecycle

getGBeanInfo

public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()


Copyright © 2006 Apache Software Foundation. All Rights Reserved.