de.mindmatters.faces.spring.context.servlet
Class FacesControllerHandlerAdapter
java.lang.Object
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter
de.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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FacesControllerHandlerAdapter
public FacesControllerHandlerAdapter()
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
Copyright © 2002 mindmatters GmbH & Co. KG