public class RenderableViewResolver extends Object implements org.springframework.web.servlet.ViewResolver, org.springframework.context.ApplicationContextAware
<bean class="org.rendersnake.ext.spring.RenderableViewResolver" />
| Constructor and Description |
|---|
RenderableViewResolver() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.web.servlet.View |
resolveViewName(String viewName,
Locale locale)
Find the Renderable component in the application context.
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setContentType(String contentType) |
public org.springframework.web.servlet.View resolveViewName(String viewName, Locale locale) throws Exception
resolveViewName in interface org.springframework.web.servlet.ViewResolverExceptionpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic void setContentType(String contentType)
Copyright © 2010–2018. All rights reserved.