Apache CXF API

org.apache.cxf.jaxrs.servlet
Class CXFNonSpringJaxrsServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.cxf.transport.servlet.AbstractHTTPServlet
              extended by org.apache.cxf.transport.servlet.CXFNonSpringServlet
                  extended by org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class CXFNonSpringJaxrsServlet
extends CXFNonSpringServlet

See Also:
Serialized Form

Constructor Summary
CXFNonSpringJaxrsServlet()
           
 
Method Summary
protected  void configureSingleton(Object instance)
           
protected  void createServerFromApplication(String cName, javax.servlet.ServletConfig servletConfig)
           
protected  Object createSingletonInstance(Class<?> cls, Map<String,String> props, javax.servlet.ServletConfig sc)
           
protected  List<?> getProviders(javax.servlet.ServletConfig servletConfig)
           
protected  Map<Class,ResourceProvider> getResourceProviders(javax.servlet.ServletConfig servletConfig, Map<Class,Map<String,String>> resourceClasses)
           
protected  Map<Class,Map<String,String>> getServiceClasses(javax.servlet.ServletConfig servletConfig, boolean modelAvailable)
           
protected  Map<Object,Object> handleMapSequence(String sequence)
           
 void init(javax.servlet.ServletConfig servletConfig)
           
protected  void setAllInterceptors(JAXRSServerFactoryBean bean, javax.servlet.ServletConfig servletConfig)
           
protected  void setExtensions(JAXRSServerFactoryBean bean, javax.servlet.ServletConfig servletConfig)
           
protected  void setInterceptors(JAXRSServerFactoryBean bean, javax.servlet.ServletConfig servletConfig, String paramName)
           
protected  void setSchemasLocations(JAXRSServerFactoryBean bean, javax.servlet.ServletConfig servletConfig)
           
 
Methods inherited from class org.apache.cxf.transport.servlet.CXFNonSpringServlet
destroy, destroyBus, getBus, invoke, loadBus, setBus
 
Methods inherited from class org.apache.cxf.transport.servlet.AbstractHTTPServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, handleRequest, redirect, serveStaticContent, service
 
Methods inherited from class javax.servlet.http.HttpServlet
doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CXFNonSpringJaxrsServlet

public CXFNonSpringJaxrsServlet()
Method Detail

init

public void init(javax.servlet.ServletConfig servletConfig)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class CXFNonSpringServlet
Throws:
javax.servlet.ServletException

setExtensions

protected void setExtensions(JAXRSServerFactoryBean bean,
                             javax.servlet.ServletConfig servletConfig)

handleMapSequence

protected Map<Object,Object> handleMapSequence(String sequence)

setAllInterceptors

protected void setAllInterceptors(JAXRSServerFactoryBean bean,
                                  javax.servlet.ServletConfig servletConfig)

setSchemasLocations

protected void setSchemasLocations(JAXRSServerFactoryBean bean,
                                   javax.servlet.ServletConfig servletConfig)

setInterceptors

protected void setInterceptors(JAXRSServerFactoryBean bean,
                               javax.servlet.ServletConfig servletConfig,
                               String paramName)

getServiceClasses

protected Map<Class,Map<String,String>> getServiceClasses(javax.servlet.ServletConfig servletConfig,
                                                          boolean modelAvailable)
                                                   throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

getProviders

protected List<?> getProviders(javax.servlet.ServletConfig servletConfig)
                        throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

getResourceProviders

protected Map<Class,ResourceProvider> getResourceProviders(javax.servlet.ServletConfig servletConfig,
                                                           Map<Class,Map<String,String>> resourceClasses)
                                                    throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

createSingletonInstance

protected Object createSingletonInstance(Class<?> cls,
                                         Map<String,String> props,
                                         javax.servlet.ServletConfig sc)
                                  throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

configureSingleton

protected void configureSingleton(Object instance)

createServerFromApplication

protected void createServerFromApplication(String cName,
                                           javax.servlet.ServletConfig servletConfig)
                                    throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

Apache CXF API

Apache CXF