toolbox.web.ws
Class ExportBusCXFServlet

Package class diagram package ExportBusCXFServlet
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.transport.servlet.CXFServlet
                      extended by toolbox.web.ws.ExportBusCXFServlet
All Implemented Interfaces:
java.io.Serializable, java.util.EventListener, javax.servlet.Filter, javax.servlet.Servlet, javax.servlet.ServletConfig, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>

public class ExportBusCXFServlet
extends org.apache.cxf.transport.servlet.CXFServlet

This class extends the CXFServlet provided by the Apache CXF framework and exposes the bus instance through the servlet context.

See Also:
Serialized Form

Constructor Summary
ExportBusCXFServlet()
          Default constructor
 
Method Summary
 void destroy()
          Destroy this servlet by calling the parent class and removing and the bus property.
 void init(javax.servlet.ServletConfig config)
          Initialise the servlet by initialising the CXFServlet and obtaining the the bus instance.
 
Methods inherited from class org.apache.cxf.transport.servlet.CXFServlet
addListener, destroyBus, loadBus, onApplicationEvent
 
Methods inherited from class org.apache.cxf.transport.servlet.CXFNonSpringServlet
doFilter, getBus, invoke, setBus
 
Methods inherited from class org.apache.cxf.transport.servlet.AbstractHTTPServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, handleRequest, init, parseListSequence, parseMapSequence, 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

ExportBusCXFServlet

public ExportBusCXFServlet()
Default constructor

Method Detail

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Initialise the servlet by initialising the CXFServlet and obtaining the the bus instance.

Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class org.apache.cxf.transport.servlet.CXFNonSpringServlet
Parameters:
config - Servlet configuration properties.
Throws:
javax.servlet.ServletException

destroy

public void destroy()
Destroy this servlet by calling the parent class and removing and the bus property.

Specified by:
destroy in interface javax.servlet.Filter
Specified by:
destroy in interface javax.servlet.Servlet
Overrides:
destroy in class org.apache.cxf.transport.servlet.CXFNonSpringServlet