|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 org.springframework.extensions.webscripts.servlet.mvc.WebScriptViewResolver
public class WebScriptViewResolver
Resolves views to Web Scripts
Field Summary | |
---|---|
protected ServletAuthenticatorFactory |
authenticatorFactory
|
protected ConfigService |
configService
|
protected RuntimeContainer |
container
|
Fields inherited from class org.springframework.web.servlet.view.UrlBasedViewResolver |
---|
FORWARD_URL_PREFIX, REDIRECT_URL_PREFIX |
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport |
---|
logger |
Fields inherited from interface org.springframework.core.Ordered |
---|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
Constructor Summary | |
---|---|
WebScriptViewResolver()
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.springframework.web.servlet.view.UrlBasedViewResolver |
---|
createView, getAttributesMap, getCacheKey, getContentType, getOrder, getPrefix, getRequestContextAttribute, getSuffix, getViewClass, getViewNames, initApplicationContext, isRedirectContextRelative, isRedirectHttp10Compatible, loadView, requiredViewClass, setAttributes, setAttributesMap, setContentType, setOrder, setPrefix, setRedirectContextRelative, setRedirectHttp10Compatible, setRequestContextAttribute, setSuffix, setViewClass, setViewNames |
Methods inherited from class org.springframework.web.servlet.view.AbstractCachingViewResolver |
---|
clearCache, isCache, removeFromCache, resolveViewName, setCache |
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport |
---|
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext |
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport |
---|
getApplicationContext, getMessageSourceAccessor, requiredContextClass, setApplicationContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected RuntimeContainer container
protected ConfigService configService
protected ServletAuthenticatorFactory authenticatorFactory
Constructor Detail |
---|
public WebScriptViewResolver()
Method Detail |
---|
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.ApplicationListener
public void onBootstrap()
javax.servlet.ServletException
protected boolean canHandle(String viewName, Locale locale)
canHandle
in class org.springframework.web.servlet.view.UrlBasedViewResolver
protected org.springframework.web.servlet.view.AbstractUrlBasedView buildView(String viewName) throws Exception
buildView
in class org.springframework.web.servlet.view.UrlBasedViewResolver
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |