Apache CXF API

org.apache.cxf.transport.servlet
Class CXFServlet

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
                  extended by org.apache.cxf.transport.servlet.CXFServlet
All Implemented Interfaces:
Serializable, EventListener, javax.servlet.Servlet, javax.servlet.ServletConfig, org.springframework.context.ApplicationListener

public class CXFServlet
extends AbstractCXFServlet
implements org.springframework.context.ApplicationListener

A Servlet which supports loading of JAX-WS endpoints from an XML file and handling requests for endpoints created via other means such as Spring beans, or the Java API. All requests are passed on to the ServletController.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.cxf.transport.servlet.AbstractCXFServlet
bus, controller, servletTransportFactory
 
Constructor Summary
CXFServlet()
           
 
Method Summary
 void destroy()
           
static Logger getLogger()
           
 void loadBus(javax.servlet.ServletConfig servletConfig)
           
 void onApplicationEvent(org.springframework.context.ApplicationEvent event)
           
 
Methods inherited from class org.apache.cxf.transport.servlet.AbstractCXFServlet
createServletController, createServletTransportFactory, getBus, getController, init, invoke, replaceDestinationFactory, setDisableAddressUpdates
 
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

CXFServlet

public CXFServlet()
Method Detail

getLogger

public static Logger getLogger()

loadBus

public void loadBus(javax.servlet.ServletConfig servletConfig)
             throws javax.servlet.ServletException
Specified by:
loadBus in class AbstractCXFServlet
Throws:
javax.servlet.ServletException

destroy

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

onApplicationEvent

public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
Specified by:
onApplicationEvent in interface org.springframework.context.ApplicationListener

Apache CXF API

Apache CXF