public class WebScriptViewResolver extends AbstractWebScriptViewResolver implements org.springframework.context.ApplicationListener
| Modifier and Type | Field and Description |
|---|---|
protected ServletAuthenticatorFactory |
authenticatorFactory |
protected ConfigService |
configService |
protected RuntimeContainer |
container |
useNullSentinelFORWARD_URL_PREFIX, REDIRECT_URL_PREFIX| Constructor and Description |
|---|
WebScriptViewResolver()
WebScriptViewResolver Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.web.servlet.view.AbstractUrlBasedView |
buildView(String viewName) |
protected boolean |
canHandle(String viewName,
Locale locale) |
void |
onApplicationEvent(org.springframework.context.ApplicationEvent event) |
void |
onBootstrap()
Initializes the view resolver
|
void |
setAuthenticatorFactory(ServletAuthenticatorFactory authenticatorFactory)
Sets the authenticator factory.
|
void |
setContainer(RuntimeContainer container)
Sets the container.
|
clearCache, removeFromCache, resolveViewNamecreateView, getAttributesMap, getCacheKey, getContentType, getExposePathVariables, getOrder, getPrefix, getRequestContextAttribute, getSuffix, getViewClass, getViewNames, initApplicationContext, isRedirectContextRelative, isRedirectHttp10Compatible, loadView, requiredViewClass, setAttributes, setAttributesMap, setContentType, setExposePathVariables, setOrder, setPrefix, setRedirectContextRelative, setRedirectHttp10Compatible, setRequestContextAttribute, setSuffix, setViewClass, setViewNamesgetCacheLimit, isCache, isCacheUnresolved, setCache, setCacheLimit, setCacheUnresolvedgetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextprotected RuntimeContainer container
protected ConfigService configService
protected ServletAuthenticatorFactory authenticatorFactory
public WebScriptViewResolver()
public void setContainer(RuntimeContainer container)
container - the new containerpublic void setAuthenticatorFactory(ServletAuthenticatorFactory authenticatorFactory)
authenticatorFactory - the new authenticator factorypublic void onApplicationEvent(org.springframework.context.ApplicationEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListenerpublic void onBootstrap()
protected boolean canHandle(String viewName, Locale locale)
canHandle in class org.springframework.web.servlet.view.UrlBasedViewResolverCopyright © 2005–2016 Alfresco Software. All rights reserved.