SourceForge.net Logo

de.mindmatters.faces.spring.context.servlet
Class FacesControllerHandlerAdapter

java.lang.Object
  extended byorg.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter
      extended byde.mindmatters.faces.spring.context.servlet.FacesControllerHandlerAdapter
All Implemented Interfaces:
HandlerAdapter, Ordered, ServletContextAware

public final class FacesControllerHandlerAdapter
extends SimpleControllerHandlerAdapter
implements Ordered, ServletContextAware

Adapter to use the Controller workflow interface with the generic modified DispatcherServlet.

This Adapter wraps proprietary Controller to the faces lifecycle for proper integration.

This is an SPI class, not used directly by application code. It's already enabled on deployment of jsf-spring-context.jar or jsf-spring.jar.

Author:
Andreas Kuhrwahl

Constructor Summary
FacesControllerHandlerAdapter()
           
 
Method Summary
 int getOrder()
          
 ModelAndView handle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Object handler)
          
 void setServletContext(javax.servlet.ServletContext servletContext)
          
 
Methods inherited from class org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter
getLastModified, supports
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacesControllerHandlerAdapter

public FacesControllerHandlerAdapter()
Method Detail

handle

public ModelAndView handle(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response,
                           java.lang.Object handler)
                    throws java.lang.Exception

Specified by:
handle in interface HandlerAdapter
Throws:
java.lang.Exception

getOrder

public int getOrder()

Specified by:
getOrder in interface Ordered

setServletContext

public void setServletContext(javax.servlet.ServletContext servletContext)

Specified by:
setServletContext in interface ServletContextAware

SourceForge.net Logo

Copyright © 2002 mindmatters GmbH & Co. KG