org.apache.geronimo.jetty
Class JettyPOJOWebServiceHolder
java.lang.Object
java.util.AbstractMap
org.mortbay.jetty.servlet.Holder
org.mortbay.jetty.servlet.ServletHolder
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 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 |
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 |
GBEAN_INFO
public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
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
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.