Apache CXF API

org.apache.cxf.transport.servlet
Class AbstractCXFServlet

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.AbstractCXFServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
Direct Known Subclasses:
CXFNonSpringServlet, CXFServlet

public abstract class AbstractCXFServlet
extends AbstractHTTPServlet

See Also:
Serialized Form

Field Summary
protected  Bus bus
           
protected  ServletController controller
           
protected  ServletTransportFactory servletTransportFactory
           
 
Constructor Summary
AbstractCXFServlet()
           
 
Method Summary
 ServletController createServletController(javax.servlet.ServletConfig servletConfig)
           
protected  DestinationFactory createServletTransportFactory()
           
 void destroy()
           
 Bus getBus()
           
 ServletController getController()
           
static Logger getLogger()
           
 void init(javax.servlet.ServletConfig servletConfig)
           
protected  void invoke(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
abstract  void loadBus(javax.servlet.ServletConfig servletConfig)
           
protected  void replaceDestinationFactory()
           
 void setDisableAddressUpdates(boolean disableAddressUpdates)
           
 
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
 

Field Detail

bus

protected Bus bus

servletTransportFactory

protected ServletTransportFactory servletTransportFactory

controller

protected ServletController controller
Constructor Detail

AbstractCXFServlet

public AbstractCXFServlet()
Method Detail

getLogger

public static Logger getLogger()

createServletController

public ServletController createServletController(javax.servlet.ServletConfig servletConfig)

init

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

loadBus

public abstract void loadBus(javax.servlet.ServletConfig servletConfig)
                      throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

createServletTransportFactory

protected DestinationFactory createServletTransportFactory()

replaceDestinationFactory

protected void replaceDestinationFactory()

getController

public ServletController getController()

getBus

public Bus getBus()

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Servlet
Overrides:
destroy in class javax.servlet.GenericServlet

invoke

protected void invoke(javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response)
               throws javax.servlet.ServletException
Specified by:
invoke in class AbstractHTTPServlet
Throws:
javax.servlet.ServletException

setDisableAddressUpdates

public void setDisableAddressUpdates(boolean disableAddressUpdates)

Apache CXF API

Apache CXF