de.mindmatters.faces.spring.context.servlet
Class FacesViewResolver
java.lang.Object
org.springframework.context.support.ApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.web.servlet.view.AbstractCachingViewResolver
org.springframework.web.servlet.view.UrlBasedViewResolver
de.mindmatters.faces.spring.context.servlet.FacesViewResolver
- All Implemented Interfaces:
- ApplicationContextAware, ViewResolver
- public class FacesViewResolver
- extends UrlBasedViewResolver
Convenience subclass of UrlBasedViewResolver that supports
FacesExternalResourceView.
- Author:
- Andreas Kuhrwahl
- See Also:
#createView(java.lang.String, java.util.Locale)
,
UrlBasedViewResolver.setViewClass(java.lang.Class)
Methods inherited from class org.springframework.web.servlet.view.UrlBasedViewResolver |
getAttributesMap, getCacheKey, getViewClass, initApplicationContext, loadView, setAttributes, setAttributesMap, setContentType, setPrefix, setRedirectContextRelative, setRedirectHttp10Compatible, setRequestContextAttribute, setSuffix, setViewClass |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FacesViewResolver
public FacesViewResolver()
- Sets default viewClass to AbstractFacesView.
- See Also:
UrlBasedViewResolver.setViewClass(java.lang.Class)
createView
protected final View createView(java.lang.String viewName,
java.util.Locale locale)
throws java.lang.Exception
-
- Throws:
java.lang.Exception
requiredViewClass
protected java.lang.Class requiredViewClass()
-
buildView
protected final AbstractUrlBasedView buildView(java.lang.String viewName)
throws java.lang.Exception
-
- Throws:
java.lang.Exception
handleView
protected void handleView(AbstractUrlBasedView view)
- Hook method for subclasses for utilizing the created view.
- Parameters:
view
- the created view
Copyright © 2002 mindmatters GmbH & Co. KG