org.kuali.rice.ksb.messaging.servlet
Class CXFServletControllerAdapter

java.lang.Object
  extended by org.kuali.rice.ksb.messaging.servlet.CXFServletControllerAdapter
All Implemented Interfaces:
org.springframework.web.servlet.mvc.Controller

public class CXFServletControllerAdapter
extends Object
implements org.springframework.web.servlet.mvc.Controller

An adapter for the ServletController so that it conforms to Springs MVC Controller interface.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
private  org.apache.cxf.transport.servlet.ServletController controller
           
private  ServiceInfo serviceInfo
           
 
Constructor Summary
CXFServletControllerAdapter(ServiceInfo serviceInfo)
           
 
Method Summary
 org.springframework.web.servlet.ModelAndView handleRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          This method invokes the cxf servlet controller
 void setController(org.apache.cxf.transport.servlet.ServletController controller)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serviceInfo

private ServiceInfo serviceInfo

controller

private org.apache.cxf.transport.servlet.ServletController controller
Constructor Detail

CXFServletControllerAdapter

public CXFServletControllerAdapter(ServiceInfo serviceInfo)
Method Detail

handleRequest

public org.springframework.web.servlet.ModelAndView handleRequest(javax.servlet.http.HttpServletRequest request,
                                                                  javax.servlet.http.HttpServletResponse response)
                                                           throws Exception
This method invokes the cxf servlet controller

Specified by:
handleRequest in interface org.springframework.web.servlet.mvc.Controller
Throws:
Exception
See Also:
Controller.handleRequest(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)

setController

public void setController(org.apache.cxf.transport.servlet.ServletController controller)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.