Apache CXF API

org.apache.cxf.transport.http_osgi
Class SpringOsgiServlet

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.http_osgi.OsgiServlet
                  extended by org.apache.cxf.transport.http_osgi.SpringOsgiServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, org.springframework.context.ApplicationContextAware

public class SpringOsgiServlet
extends OsgiServlet
implements org.springframework.context.ApplicationContextAware

See Also:
Serialized Form

Constructor Summary
SpringOsgiServlet(OsgiDestinationRegistryIntf transport)
           
 
Method Summary
 org.springframework.context.ApplicationContext getApplicationContext()
           
 void invoke(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse res)
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 
Methods inherited from class org.apache.cxf.transport.http_osgi.OsgiServlet
createExchange, createInMessage, destroy, getTransport, init
 
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

SpringOsgiServlet

public SpringOsgiServlet(OsgiDestinationRegistryIntf transport)
Method Detail

getApplicationContext

public org.springframework.context.ApplicationContext getApplicationContext()

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware

invoke

public void invoke(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse res)
            throws javax.servlet.ServletException
Overrides:
invoke in class OsgiServlet
Throws:
javax.servlet.ServletException

Apache CXF API

Apache CXF